Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Packages which need -fcommon for gcc10
@ 2020-08-18  0:08 pullmoll
  2020-08-18  0:20 ` [PR PATCH] [Updated] " pullmoll
                   ` (53 more replies)
  0 siblings, 54 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18  0:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

There is a new pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.


A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 162114 bytes --]

From bbd5efa29a0fd651ad6cea236398789cc033027d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 001/202] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 63616fe0a8c0245f571b2c372dcebe51a5c92ab6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 002/202] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From b921671f6fa9021408f4adda4b840d7f145dd895 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 003/202] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 901e3a6b34f691155d338c950370881fa02e9fda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 004/202] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From b28f1556c5b40ee461501119c9a9d1cac3d063b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 005/202] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 046e71275d474d0a5b701ddaad860f1d2bf15d6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 006/202] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From e94d81eb82636623c7006a468f10f3e85e9e0137 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 007/202] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 94bc0e6ebcaf872e9b1fafa9e1fee9f247f41453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 008/202] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 1b25f4bb1c876729a053d57abbd82fc8765319a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 009/202] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 160a41585c0b096f1698240d4fb539722a9a328c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 010/202] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From e1aa9684cfb1e5c3520d339549f8604964a5e7f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 011/202] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From cb6cb86d6c2ef8db0bb1ea5f5e5dbea539cf385e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 012/202] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 497b7e91f7feb1227ed1930b0e09505e7d5dd1d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 013/202] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 8cfeb80e9e75b0450345a1b682970748fc5aeabc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 014/202] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e98702ea3258c9d5246afd6d156f797ca3a34223 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 015/202] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 1019f940f6cd33334f81f421158324ce1f7f083c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 016/202] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From eb0fb4c0a621ba0e8036482ff56a4ca4a4fb8b90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 017/202] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From bb18e18cc64ac5bda2ff6772876ef215b409c280 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 018/202] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 900268147d61a4db1ccc19b0bb67579657e85f0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 019/202] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 2a604213eb74afbfc8d6bd8cd27f3a1ac3ac2ef7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 020/202] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 36ededd956c6ba7b2c2356ced615a0eea3ab2c87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 021/202] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From cd09d48706e0c305042334b3edc311b3c98e97bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 022/202] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From c0f1d39e599d75981a62fc072c61f3ebd0ce842e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 023/202] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 63b4d29227bba9ff44a1891659fab6abb7c134c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 024/202] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3921411ccc8d1ec7f1705a1c2659d3526da3c88e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 025/202] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 988943bf589e2727e2b5f93453b2e886ddc15f03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 026/202] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 7b11714efb395c1c7072bd8813183de7ca00f0e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 027/202] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 042e527679d58bc24cdd6f8c444e134beb4ea12c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 028/202] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d494721ec4b3b144265cb439041987033003bb32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 029/202] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 3f25eae795c7d03eb2e3993d1d6ae455537d2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 030/202] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 2a57463de5696b61019f9fb4f19a60d59f5176c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 031/202] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 5dcd616003c384f3c0bfd70ed5eaba7d5ac89986 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 032/202] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 04409176619df68092cd241ea552de317c6beac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 033/202] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From abc6f6d4f345a2ddc4d5f3ae4705e909072efdcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 034/202] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From bb95be73c7b493e27de9f0ee191368032bba6b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 035/202] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 4e11f2591abe111d265794db20152619443bd00c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 036/202] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 031b1ef00f39c6ed631f62e6725d91f827162f57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 037/202] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b56abe898c92158c65b807cc94995045cd456a26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 038/202] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 3eeca9acbda9ba76c3b1351da1afdf7453677e9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 039/202] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From c44e9eb3613f2f90392340bad131f0a8de999c88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 040/202] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From e6625157518ea4f993384f60af20dde67452c2c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 041/202] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 7454190628182b209479e5836fdd1775101a06b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 042/202] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 5174919d654ad2d9187a1f92439837459da7bf4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 043/202] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 922af6ed890bae8d1786a4c06c8ef8a12fef560c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 044/202] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 57ab84cb87c0cd65070a63ffb9965733a02f978a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 045/202] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From e5aec5a6d3a993744bd11017f861524506ed5f8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 046/202] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a98b177f7187a38306b1e871d92caacdb6563657 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 047/202] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From d5a324007a521875b355ef54d493fda5f63006f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 048/202] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From bc4cac048fad679824894b99924449ff543dfebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 049/202] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From e4185dbdf2dbed4280bfff3910399da19057056d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 050/202] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From afc4be8408fa4ff00702638f8436b51eaf93c951 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 051/202] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 03b893682adc12c2dddac795483485c902d53089 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 052/202] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 817f0322f218a90665873c123f9d804826828619 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 053/202] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 04fc8f1bda106f3510a8b7ed038c5c559d3ef830 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 054/202] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 4799af71562d6ad296530439a106c0c43a8fce24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 055/202] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 05559d5feba0e6f91a86424f0053678c4874beb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 056/202] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 3d5bd8d41baf00bd729f7dc69962dfc773ece3a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 057/202] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 379e9771f930ef45b5ee743660c4ead2120e1894 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 058/202] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 13a257a10ab87a473aa3d1e0a192b83c57646082 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 059/202] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 743604b5c622bf86264f7800f4a515489af3eba8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 060/202] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 54f917d10b3c89aae539dd70bb440e9d6c561d13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 061/202] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 34eb87258958f9491c87e95c0d24d4f543557163 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 062/202] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 125990f8e6dadd2ff82e28a59ea12c4d72354412 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 063/202] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 7b09393babac7cc09c3d50e02c629000bc0dc253 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 064/202] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 806f805d175c6fe07cf97a760f6411dec610a5fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 065/202] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 3364f57a9a11934e1313b7fe33cf980e3c49917c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 066/202] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 07cad6b8d3a74ba4b254a9c07ce37a6de3ea6295 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 067/202] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7cb2319b32edae8beb807240889fba5f4720e295 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 068/202] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 820497ea982a9b796298a70873e05492b714539b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 069/202] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From e63e8868baefea72a3a36f947c710a4a772ab5ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 070/202] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From f88ff182e5d83ccf51de586e571d31afda5a34cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 071/202] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From a0c6896c39d0ab2868ef717c630d6dd9c91a6a1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 072/202] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From d3c26d93df660d6fc04ce6b2ecbd77a82f2048dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 073/202] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 498953d396d1776d2e2db3d1887cc99774886d3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 074/202] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From e18642ab19b447eff070f9655783eaef3ba29a31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 075/202] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 6c501224bd1a8a326cf7629bf753477d1d74e213 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 076/202] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 521fc996deb4d8610aacbf620c654e2144cad97c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 077/202] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From b201b62a9e51fb022d9ea6a5d0765b0f90327a42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 078/202] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From cfe901f8a68018800ffdb60b73f8d0b1b0564ac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 079/202] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From e33553971bc32a0ddf4e4773518d76c4309a58b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 080/202] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 4a8c4af9fdac7ac814f6cf2a77baa8ba2dbefad9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 081/202] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 0fa0d34640321413e126d273a29f576ecbc695d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 082/202] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From c4edd971a1ec76cef8109ba4782503bb83b57b4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 083/202] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From af3ed1e5e458a13464fba31bf03aa74bf5b28d24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 084/202] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From c4fbc37abf3c67976cbf93e999859c8df1ea5f45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 085/202] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 38c86e8499a0c79883bcb59648c16bb3e94ee123 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 086/202] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 7bfdebe1fca64c22cb58ce97bbeea93ec4d4502b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 087/202] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 364b857fb6566bcbcb960b39b4d64a160fe20d44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 088/202] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 2a5ddd7f8e78b7e054b1c1050fcce351615707d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 089/202] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From c8e82a368c6d615c37004de904d028440572a308 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 090/202] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From bc56e1307ff35c858b9cc4d750961564c66b3753 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 091/202] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From e952955be8153e94451b5da2ab11f050df216b40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 092/202] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 9858f369d246a2952ac7d3cb62c74f1a2a816502 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 093/202] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 02bed66f61707f53b9c60d8d0c92bce060194be2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 094/202] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 49a199ecbc5c39e06d332cc2804459b42dd39e7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 095/202] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 4baa2050ebd574c19ae7531099da578ac05886ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 096/202] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 214bcd5ca9e66d1aa98b838a36bf9a2e0124a155 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 097/202] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 00c43f59852a833885c622bc804002fb5d78201e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 098/202] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From df7bda51d36af0b2083b18c2881eb8dcbf2dc82a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 099/202] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a245b0e1e6d92e6e86c01fbeae814ca083dc9105 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 100/202] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 71f0fdac621b824cc9fdc19c94d933683904ce18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 101/202] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 6d929a3dae417f382c0f184773af088e4ceb2229 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 102/202] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cc6d92d481c2de58edc64a73adc281bb7ded0c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 103/202] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 5acb2bbd7384eecefa660f6ed08859306d83cf0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 104/202] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From b353eaf6cea10437f699a6c98f7652114f275c40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 105/202] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 24f2ec25895ab83b2d4c81272e4aa78fc75ad1e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 106/202] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 8e2dcb58fb9a74e2ef85115578fc4d26c6946f74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 107/202] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From cb534288069080daa24a9e5585b6f24101ae463b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 108/202] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From be04030f011f800d7c0e53e7d995ff5f6b21537c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 109/202] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From f6a725ac97e86a40ce6cc7e4ee2342121ece6c39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 110/202] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From a8476b0a38c04f539e4785c0c715a9d4fc43ab63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 111/202] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 9bff08c18cfa551eb557ba784c3813a4f9a6d728 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 112/202] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From a26e462b7e628e24ffac133885aa15951afecfa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 113/202] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 2ecf185bdb642749dc80480518be01314a5131a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 114/202] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From cc2c9c14e4cfc115b42a2892ac8104f1f5408b12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 115/202] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 9fd691ece4f9ae75962934e229877843b6aad1cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 116/202] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From e479b4370f851efd07fa3c59d80ea6cb2ea35c3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 117/202] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From a467dae4306330bab801dbbbf1786e8c1c6d72ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 118/202] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From bee2ef2084b01ca6949ce9a93e3a1c466df13ae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 119/202] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 9c9965c97277256c1c17eb0d9f9c8ff990f55ab3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 120/202] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 2bb23e7c841f1f6a40a23e56ed152729485b8782 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 121/202] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From de9675e6ae4166cd5c385aef19b84610c2acad25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 122/202] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 1ca98b3b6b81c7b973c4c421ef68ee7533a2782d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 123/202] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From d12a3422ce9f83f86962d3b21b1135f81aee1e74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 124/202] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 3e64ad97d243314bced65822dc298c98694013ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 125/202] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 68a7c1257c70201191a44587bb68ec45c8d74e95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 126/202] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6fca0dd30721f96b2c36438950e79b0970f7bab4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 127/202] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From db8565e9a8bf45052bbbff87fc5219c3ca64ee93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 128/202] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From ffdcf353bc5a11c407ad4212ce1d2d16f36ad4fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 129/202] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 76be9e19f4c2ea72d6a276bcd947dd39d6da2daf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 130/202] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From b7da6695453c8bed8490a969040af683c7777083 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 131/202] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From ef8a61e648859357f10a0e9a657bfce860f218c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 132/202] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 6f3c29089233bfc5e32c55b330b07fd6aaa9c6ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 133/202] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2946349947ba711535996a8291c39edb41c952a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 134/202] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From c9e81904bcfe5f7513283489277f93616e2c22e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 135/202] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 8378915a5c5cd83c80bfb2f5291c2305abd06372 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 136/202] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 339178a2c6a4b906746155b3c79644a2fb185e87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 137/202] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 1e835115feb02c2b7eb8c0c68ea54ad464bc1aff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 138/202] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 68230c0c061f6c6e45e3953bc3b06046418035b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 139/202] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From ff8e03b1e8dfc6b358e2b0308d92f33b197add8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 140/202] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From b0a7107802bdd83e8ad63da5f36874788c9fa33e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 141/202] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From e456cec4ced22956df7af32db1d0238ae5f344c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 142/202] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b1cca279dd372ad516aefa73d88b0cc091b2556d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 143/202] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 351300c790bfc17ac0da293496a255fe09b2e5e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 144/202] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 849c3405e083b58bbece605ddfdf44020e786665 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 145/202] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From cb1dcb3d3d55661a1b620944c162263c38f14fa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 146/202] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 8560fa77f7fec59db95b6db99181f6cea3bc92c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 147/202] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From ced43bfc737f27c4bf914b96a65f1d38b5030f71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 148/202] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From ce2ddc06d8a78cd42f39658032213fe5b264e771 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 149/202] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From c4c734a2945c9d4b500d733f558e3987a5bcfbb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 150/202] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 6072f65c715d82a78f74c2b078d1178b602557d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 151/202] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 8b10833da5901a1fdd0266b92c44efa88f84c26b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 152/202] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From aebe087efec0c60d29cc57c0fa4092875f69e960 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 153/202] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 28bab37d6f0621d74258f8e0a545354690c30e8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 154/202] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 9285cba03785e04fee536d39e4a957eea44240f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 155/202] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From a2320a2a115937960fcac3f5c137bdc2e0b60c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 156/202] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From ee8d0f675d0616146a9ddd531bf940892c64fc10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 157/202] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 5cb9c2262d7dd0fd7e4915ef9ecf971879c8a823 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 158/202] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 74f09922975b540fd21566422d8b231a48048f8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 159/202] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From fcc34b0a1ed666f02f7d288919e546dc9923d976 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 160/202] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From ccb39408ff3d72fbda5ff5ef1c82df236365ec9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 161/202] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 46b0c7b2ed983ff0c9539542e6827d9e088e431d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 162/202] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From d8d3f51e039695dded803b7e272f87d262275eed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 163/202] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 73872f5d85ea0490aa1dd3ece3740170e926226d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 164/202] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 2d8018387f92f149f21a5bec93987451972cb4b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 165/202] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 0e6b5b1cad6d3191814663a04d4ee43c26ebcedf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 166/202] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 7f38f0b2671edd401d0e812a882d21409827331a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 167/202] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 171e6ac1947315a574ee780a2706a15a900a1a3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 168/202] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 9d08acb4393dd466ac84a9f09e4fa4f08210234d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 169/202] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 0a3fd4745704163804169a9986a5310105054ce1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 170/202] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 74facd6496537cf9cf632cfd94364ccad3178ee5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 171/202] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 631dce131a82d36ce33a3f5eda74ce9013bed9b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 172/202] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 531f1ac5ecf09d1e01f34b8f991be7521fd9d68c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 173/202] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 07e85f021ac006b9d8ecb43874aba52cd41954af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 174/202] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a8066ea388803c45e04cd51610f24734ac38bd0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 175/202] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 759fa7a816cf4d225dbe628b814c221bf86ff266 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 176/202] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 29924e4ec9f4d3107ead12f51bc2084f6e3daed1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 177/202] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 98c53e84c62bd83f29d46339bd8d7fc0ebccf76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 178/202] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 842fd982f3965687e7a52215e3ada2046dea8750 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 179/202] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b3a76d3f4a673760b31fcd3901a1a29e4461bc95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 180/202] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 0ab7ffcc50830bfecf286f1f6b83eaeb7bd2a292 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 181/202] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 3c118c35b14777105f859d3ddc84701714eb1a4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 182/202] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From cb2b8490273781682825a9fcb616c391a6965a02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 183/202] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 0a8479c465848031d08ee51f70d4f61b52e12b96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 184/202] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From eeb98cc994f1c42126c1d383cfdf16dd746d532a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 185/202] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 3d396ab535ba19abce20feb0abe9fe9f583108dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 186/202] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 5852ff971429763fc8afb9af9cb843a109263481 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 187/202] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 4cf449a675a1fd3a9704462c11a035a8876214ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 188/202] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 496e4eadbdfcbe37bca953a2ce4c4aa2d878dac5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 189/202] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 83a493bffa7184ef6c252d7b2c1c61a7bf030fe5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 190/202] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a87ba95916aac5ff4183ddbb7e7c07d88b72c4e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 191/202] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From f69356296c4b14da38a5b10895514a70a0e9bdcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 192/202] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 290c41cd54ee35a90755b249d591c951526020ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 193/202] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0313276b5fc608e938ad41a911c1a22494b9ddd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 194/202] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0746706f7dc7f58758f8f9b9c6b614d4f74b1464 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 195/202] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From fc7bc487bda989c0a7f7799a2f938197df0d57e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 196/202] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 3a8fbfd64341913ca5f2b4c561abd8815df60181 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 197/202] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 7438a5fd04b3cfb7b353457ec5c25530a2149de0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 198/202] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 249c22a689553030202ce44c0ad75ef4151380e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 199/202] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 011b5d52dde927b4987b84feb6580c3baf2f7791 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 200/202] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From c72a2cc52cbb12b14c612592ebe09eda5bb80334 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 201/202] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 33dc21c06ac1aecbd44dea52fe60db6e4a43220d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 202/202] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
@ 2020-08-18  0:20 ` pullmoll
  2020-08-18  0:47 ` pullmoll
                   ` (52 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18  0:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 162114 bytes --]

From 8735fba70b0136f192d2d4f6022eaba24cdc461f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 001/202] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From d60c8188c8cdae82d6f37a913fa464cf0847e9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 002/202] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From ec0e8057fb732901c416ff668de15aced750e979 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 003/202] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 32c5630412c6c41376d0b2d88ddd70f3c3d5c01a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 004/202] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 5e8ec73e23ca24f346a51761f1ce5a9540acaf4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 005/202] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From f8c23c600495faf5f19be6483f73796bdf7bbcea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 006/202] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 3bcc040c5af1ba24dffc4ba3cef6e0039a2f9ed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:00 +0200
Subject: [PATCH 007/202] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 4ff56ef822301b13aaa7191136ad726f5a8a8e0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 008/202] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From d816b6dc93b69bf6e740ab9cf3e6d29fdd987e1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 009/202] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 374e97691d53bf94fa2788ecdda1a740bcbfa633 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 010/202] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 37adc49e9aed9b1bb73c0507b4faa155df099994 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 011/202] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 58ceddd278922723652d3941c213a8448e3c38d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 012/202] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 957ddfc10a6e36bd0ea03c053fa04287341d8273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 013/202] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 6fdf74c1f553f0ac89e711cbed4c14ea152476f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 014/202] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6e997f0a775122f7c17a1dcb1f930d9c4ea24868 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:01 +0200
Subject: [PATCH 015/202] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 438ea9438075f717a2cd6a8b858b1d0dd1a21980 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 016/202] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 025a5681c220e3da6f3260f1da4e99408d291b34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 017/202] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9c126ac1036f84c7acbfea0d3cdbc77a4f7b4e40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 018/202] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From bb2a7a4b23add54d8ef0e00fcb6af69d898b6cae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 019/202] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 140ddc58bef7e33c492f09b146521a3ad62e4143 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 020/202] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 54293010dfa88ca2578a209a0f22b053cf49fbf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 021/202] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 5abc7f5ede1b94ee631f01f4e7bd457e9f17227c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 022/202] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 40495e553a7c75b225c550432e83df48c294c7a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:02 +0200
Subject: [PATCH 023/202] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 9ee30b476b342a5a641005bab724dcc69e6a3ce8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 024/202] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2e21fe4d7981d3602fce3d7d2fd262ea948d0a4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 025/202] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From a718ba09d2a788aa1ad4352867e3a2321a147554 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 026/202] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 575868280607b8c7e9ba640df4d92a7635e78d88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 027/202] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 3b39c892aa52e1a1959699dacea199d32ecb6459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 028/202] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 55b2685ddf9833770ab44e285ca0f5b4c8777cfe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:03 +0200
Subject: [PATCH 029/202] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 33a16f2bb3f1923f4cc073cd1a8327ebb055c32b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 030/202] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 02c99cf6e5e3ba182142d7168d3d70d08282b98c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 031/202] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 180eff4565d1a1cd7e5c666859998af33f3b1953 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 032/202] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 866dd67e95db6b818a2b277065656eb0e09e2f9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 033/202] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 73bc2efbd59c549d13101d02c9f18ee2f1cb7fd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 034/202] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 0d2d1cefddefb8ebe4b456d97c2a9a90a20df148 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 035/202] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 7f25eb56a5cfd747e5601b469caadb7d65551cb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 036/202] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From bafd171a3e7d97b8d9ffbaaeae1e055a1786e5d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 037/202] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8f124ed08f8a1e73083343cadcc0887b1b4c4720 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:04 +0200
Subject: [PATCH 038/202] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 3109902b6a6ce620ce1cb8dc58eb9671c6dbd232 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 039/202] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From a2f9266c417083d2cc8db5399815e92e9adc8971 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 040/202] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From bf1ccf23dbd40e6bd2e645d88fbb419e6185b029 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 041/202] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5654b961b6422cafd35befbe502ddb1496d96610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 042/202] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From b3926a61c50007d2ffd391fb7c7336827e1d99c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 043/202] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From d512bc5951f6d135395326a4cd109ab89b5914ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 044/202] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 6a00799e3e45c00d1940c25e8c93cf2ef01a26a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 045/202] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From b9167825efebb19a40bf19c49492ec229b443307 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 046/202] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 04c9b26dcad43e022966122ae3981874819396c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 047/202] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From a3c1c871d89d5f7e7d6fdcd3e2e8142153810364 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:05 +0200
Subject: [PATCH 048/202] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 3336dca8ae68d566b394d0f0ac26fef8aae0b7f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 049/202] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From b9ee4c9092c7323d685c26567757922cf7b9ee81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 050/202] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 68e1bd1989e000bbac8beb3d5cd0a7ec4cf00dd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 051/202] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From f48ed829219265dd0326285e71b47ab9f335c088 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 052/202] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From af2e7136085e62ab71df11fbcf751639b57f7774 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 053/202] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 9b30abbc4a36a46495f08d5cb7135f6a3062d6ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 054/202] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 6c92f98f3c370595d2b88d831e16c4f5945f497c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 055/202] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 35fca9ea6e174fc0c943fe75a49a80f6a3be05c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:06 +0200
Subject: [PATCH 056/202] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 100f0a9665d9b6a1525c7c600f81808964b306b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 057/202] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 7f1eb68e7f1ad18f16601a96e956d9316e05d1fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 058/202] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From a347492a45db26c630314ee8ff09f66ccd91b4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 059/202] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 108aee42dff0dccaf2fcccbcf107909536ed95af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 060/202] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 0c68084b9cdc3d867fb1ab5b581ec771de14aa6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 061/202] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 2e42a5aec6f6e656866c3354ff58b69d1a52f8a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 062/202] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From b4753bc8a4fa8ca39ac817e45a5cc1b034cebd9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 063/202] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 3670b0647be7091617347b86a6b461566eb3de34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 064/202] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a1176f2485454a98ce2cca9aa565b4d4eba418ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:07 +0200
Subject: [PATCH 065/202] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From ddc21887cf606434cd6fadb5a6d2cb45ab840c6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 066/202] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 5a3c79b4d4d868c65e26dcb495edd2709f817ac3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 067/202] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From cf4575f2cd72cf431c7ea39dc6d18ac8e496d13d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 068/202] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From c167e439eb1c92641746b70ca07677c1009f2764 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 069/202] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 2dd111d506f837e63ccfc0643253c9ca87d34d15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 070/202] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From f573b9c9fd104cb785c56c1bbb0f73f5a825dabf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 071/202] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From e2359899b13e59c0d82d58a94d9e15874ce0c554 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 072/202] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 59ef14f7745cb1b848ac8a2523dcd1587995e7e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 073/202] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From b264966863ba952ed57aeca14cfbf701b68a58ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 074/202] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 91d9b1f110acca7a27a800addba9d86bd7bd1962 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:08 +0200
Subject: [PATCH 075/202] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 07254b998d1d30a939e69a6871890c623fe0ca42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 076/202] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From dae08b51a14d823bf8b32595c52f2237b77d87f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 077/202] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From ab8c01e0faaeeb27ad0aa766480d9696ced2a807 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 078/202] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 803535a7c3232ea716fe257b465882721d4dc822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 079/202] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 745c20830fe8fc38cfb92d208c24bf81f8095d2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 080/202] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 4e53551a6e372da1611173c412bfcc71057d4cee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 081/202] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From ce498d5a82d479e436cf98d7b34c28ecfd3d4063 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 082/202] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 13015a6edb120db61effd41cda24c7f67cfbbdc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 083/202] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 11a545b61468c67bd55824e093e0b3e1ea1cdcad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:09 +0200
Subject: [PATCH 084/202] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 13b8c35ed8246f7c9ca6435bf1b009faef3cd4f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 085/202] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 77a531c4117238497b294f31d901630fc003631f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 086/202] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 338d40f4688b4f412e9a934bfe7572df9594a4f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 087/202] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From da103ea7bdf41b7d84738da4a6a3738050cbbfd4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 088/202] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 9087f554bf2710e9ed93147e596f4fc08f188329 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 089/202] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From cdde3928b51b8f4655a982881d556eba7b031318 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 090/202] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 8fb6b3809e1ac805557a941d6d54a8529c31b530 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:10 +0200
Subject: [PATCH 091/202] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 4ca51a3fbca270efe7a237071a9e69d6895a9c1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 092/202] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From a92c8da5e99629c7590df0278d634898bd6da1f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 093/202] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From a3c84c19d8a10846177f61be0a006b38902333b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 094/202] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f79aaed28e215cde3bea4daf0b09336b8ff0e798 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 095/202] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 6a30a56310571bbb1793b2fddad86e241a1ead09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 096/202] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 89e56d44a082df9493ac7759eff5950cd09e0502 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 097/202] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 8a43e3f0bcc62a35b128c6d759d5d6391d09aaed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 098/202] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 0c9ebffc65052f2b1aea2364339c84e7eac6ad09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:11 +0200
Subject: [PATCH 099/202] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b463add82133a35ea6a45e42984bb8eb93b1ca71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 100/202] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 7199f15e7930b59523fb36992208b36d6196f88d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 101/202] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 19d1f78db1810435f1f91e71d81d4fc0596583a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 102/202] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c32f748e12f499ced3c611e677d89f2b122affac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 103/202] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 4a14fec014e84d41a083e621519c6c3c37093325 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 104/202] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 9d6f66f90b329e221502daaf86493b5f99a8ce47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 105/202] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From b76f76fcfff0ef9167273eedc5f6102f382c625d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 106/202] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From d9cbcfc63e4690694abda873f9cb5c3f41d75931 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:12 +0200
Subject: [PATCH 107/202] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 8403616f7a32d222acdaadec50b33834a634fc91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 108/202] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From be66e4564b810855597f775f7bdbc8d7b4c5996d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 109/202] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From a7bf6e2f155aac06db7e63dfffc141ae1ad9d454 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 110/202] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From bc2d46d3258dead25a5183586f4c86329c0fe866 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 111/202] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 90f9fe481948a882d64705a3a6dabdbb2200a538 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 112/202] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From b1422a06d96b98b22b78256d3638d62bf8af37d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 113/202] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From cd6f56e33416d7e8984177962950ebd555f695ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 114/202] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 5869de51b05e6a458624bcd903ff6cf7758d2b55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 115/202] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 9e7ec525feda570a4e68e36465a1e37f986eda98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:13 +0200
Subject: [PATCH 116/202] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 9bbeacdae3ca36e1c87076ff4f0e80aa8660dd41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 117/202] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 9e2c2fb45df97a935de1614b8d74090e99ac8d2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 118/202] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 0317278c4ebb2088bfcb48025d4e19d25a6dc37a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 119/202] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From a16b40a6161e5ee34b621c90f2c59fce953a66ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 120/202] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 64ba7dc9957af0cf72bdde0d9e6f643a8c610ff1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 121/202] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From c8cbbe90be1e078fb9a9316f09ef386ceb13d79f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 122/202] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 7b597326a3eb4b4815312c1dce9294764b03ffdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 123/202] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From a5442ff2318848d27a8ce7feafed86c983dc5155 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:14 +0200
Subject: [PATCH 124/202] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 9465b3e7dcc4892b5530627a10f0db67ff238e29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 125/202] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 840933f13d66d745e16194208064f25ea96a27cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 126/202] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From c6a8072b00ef4cb5934e06bfdea3cfe2ca030350 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 127/202] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 31b156ff1c78a98e518063b14de65e6332519d27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 128/202] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 131d7f3515fcfa299d41bcc101f108ecba8c6616 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 129/202] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 5902dd1def771bcd977fb58b9c025529d645a887 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 130/202] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From e240a002f1718ab8a86cf811ad8b87ef924ba938 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:15 +0200
Subject: [PATCH 131/202] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 0aeca3a4c4151ca120db97bc8048e4376576738a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 132/202] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From e09dfc1945b4118ecf00c65c583c8a1398588222 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 133/202] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b4b1aa6e566c92eb82d0a9d005a23816b0b58d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 134/202] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 8f7dc653387110b5d0b66dadc474bd8be833308e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 135/202] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From bd42dfe261d7d2e93bbe154aa2c86fe4c7452b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 136/202] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 5c3676d79daef5ed533c0d25e122f4b7418890d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 137/202] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 99727e0cd8a9be9ae515c571cb341a7f80d48570 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:16 +0200
Subject: [PATCH 138/202] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 01ceedd79f0e23396c3b6b99e99137c8f3e78020 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 139/202] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 9086a1fb8daa077c68d608f223b8da23239691ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 140/202] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 8172e995d8f9026b9d9d606cd265348ad416538d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 141/202] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 4ceefd81a87e1a48a137c7dda80f0b6120653af3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 142/202] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f61c9e4cf81f9d017d46f8a729374c09041a98e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 143/202] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7d7ecfcfa986895288a243f7d56cd548c3c2dd5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 144/202] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 253023c2accb869db8b857fb3772531284bc4e7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:17 +0200
Subject: [PATCH 145/202] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 36b1f477967b26869c878f38650d4b1ee835927c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 146/202] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9c25852dab778d75512c8447f88c976bba79fcd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 147/202] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 53eb061c33cf480aba023b1b45341a2c2df2f1ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 148/202] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 050f159fc4cd4d9ce7568388c87992de3acdcc6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 149/202] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 120163ffe20fce4061c8e9029d2bf6e4509c44da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 150/202] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 9702030bfb5fbf185b04f5c386635c393ed4eabc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 151/202] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 422804304c05d9bcf1d423e413bd73a79066c2fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:18 +0200
Subject: [PATCH 152/202] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From b6c31737d04c92b62deca5ba5673fd1a33908838 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 153/202] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From ba527bb4c5d29042ddc4fd7f4dde063da7fa066a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 154/202] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 26cdfe447d1d7f35d840e1cd64f100a8ec74728b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 155/202] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From be53f35a5746081e224ee79d52ee8bb2f4ebd612 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 156/202] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From bd957957088ee9e0d31a3ef0a2edca258ea35dab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 157/202] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 8e901a4d7ba8f9df5788661270c3ae25e1de1115 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 158/202] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From ad41f1546e7ee4cfeb8b84242f8bb5e1302d88fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:19 +0200
Subject: [PATCH 159/202] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From c10d3bda84039f41c96020ae701d8fba125dab05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 160/202] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 95d20c6554df5d541d56edd59bd71bf65e6a2a79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 161/202] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 356e6c10c9f9676ba495ceb27eab1750ef049f43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 162/202] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 439fbce449802dd0ec37f45cdec2c766740d06e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 163/202] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f7b93786281ee0aaccec342b8e692d15b8164f3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 164/202] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 2ea27469a1d6c1501bc36f77c6e4e55fece21f6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:20 +0200
Subject: [PATCH 165/202] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From a624dc7538dc675c2514de131c2037e03e0f9261 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 166/202] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From bed09909ca0f0d92e15aeffd317d63522a665aa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 167/202] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 9915032dc1ce3c1cbd03e7619a16e35968ddf6c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 168/202] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From d65d0c73814ac84fd47fbd1d9f8c521bdac49736 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 169/202] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From e2d169c99cbca9a32c835331b6c676316c753399 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 170/202] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From fc6563c8dd45f7a90f625e187dd6cd19ce6b3739 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 171/202] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 55d93d166b378b1c5110d89e97fae0735eeacd17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 172/202] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From a7a3b6aed8a22a9ab3f72fa1cb96de2e91853e11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:21 +0200
Subject: [PATCH 173/202] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 5090d15baaaf61c36a8691bf3e51ae83859203c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 174/202] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1a126c0beddea279ab4734acb83932ad2a3dba2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 175/202] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 7f5d8ceb72727b47dde1df90df379669472dcaa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 176/202] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 38b0814d3dc56f3cbe274e9f4ddb9d96d84304bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 177/202] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From c72067c97137a1971d92605d8fa86e8b00217390 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 178/202] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6f5bfcbf2814589669007352c24552275da54009 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 179/202] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 3f4d406e9f2ec44210814769afc98892ca861728 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:22 +0200
Subject: [PATCH 180/202] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 5eaed44f8329e830786ee5eeb1f3d9007434c147 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 181/202] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 5dac13dc4afc49822f256223f46a874f226d3a19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 182/202] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From b698e6eb68658e85e190f991765e7616dd58c5b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 183/202] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From a85ada25e6112bcad1c96df552656ca38257b4d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 184/202] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From b510e53edb9f88284b57f30f685d5e686674df49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 185/202] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c739e07af3637aa644f83a451a3cdebb57e43234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 186/202] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From d75a3da5590e58d0a3686089f8e709647cf65605 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:23 +0200
Subject: [PATCH 187/202] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 89af5a5be55b8fd0f6e746346c870784553df17f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 188/202] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From d0cf72d8b00c49a058a4eab8382a641fefc57096 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 189/202] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 63344875f9882d05f980aa3f68f8baf2d01c1ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 190/202] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 153c1ad55a21119a7908ef52d82d950711eea8ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 191/202] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 9ca557f5c94d7497de2ef931ae03f3def7c47939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 192/202] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 8e5d399ca7d89232588c3b03ca848f0369dc68d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 193/202] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 95b9058d3562c1e36ee577ef8ced4a54a5a050a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:24 +0200
Subject: [PATCH 194/202] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 36dd57b038fcf6b5716415aaba33a6b9b401fceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 195/202] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From f80011fc051f37dbf75eff77c5fa0028476b4c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 196/202] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From ddc40c81f483c38f33f1726b8440a347559a6d91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 197/202] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From a19faec6f138665910f51a01620116e7e0536f50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 198/202] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 621593cc78a7b8832d9412ece2a4e32c25248a81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 199/202] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 968d75eccc86a3663d723ab2a74a6f114586dcaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 200/202] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From affc81e4f65c273f7d0a4a8ff975ded4838f651d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 201/202] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 9e38a9bb53634595b03de5aacceec4d61c58cefc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:05:25 +0200
Subject: [PATCH 202/202] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
  2020-08-18  0:20 ` [PR PATCH] [Updated] " pullmoll
@ 2020-08-18  0:47 ` pullmoll
  2020-08-18  1:15 ` pullmoll
                   ` (51 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18  0:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 162114 bytes --]

From e978f786c14b41bf0c47322de07d773c88a032cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/202] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 8a820779cd31e9a4ddf456843a9855efe1d06c5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/202] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 7223e7c2b41c5402ba8d48288db7b43c4511b121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/202] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 4192a99aeb7d94d4cd9acba747670272de4c5c9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/202] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 366d2f68e1eb0d3d7ef7536f1290ac6f08b3b473 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/202] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 39b9e136186c78f9da2df82fb20b0076665fd482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/202] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From a38a39ce52ec75e8f8bee3b24918a40883436cc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/202] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From eeaff3fc7db47ba1aa46c76f22d8e7c12c0e8b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/202] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 7ad3a70428c02e92d9ca98e846c9bcc7ed54ef3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/202] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 314b49ecae66fa0df76c3b34262e01eeb707cf5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/202] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 5d56770ad47f1b62a1cfc1e52afbe8ba8f3ae504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/202] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 6cd1852c9309767ae2ef6879159d87e7dfa2d5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/202] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0375b07035847a8ed1fb529c930f45a9c3665895 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/202] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From c7d48d1cbc5931e96c9162d07279e57a8ffcaaa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/202] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 21174eea3279ffbfe8189f3f81825ab0c1e9afb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/202] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 256401e41872b41dc8ae0a44a4242f77d122b356 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/202] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 76a8f47fbedd0c5fc5797dbd93c4182d5c575ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/202] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 33ec902d4f11221b616f03f34fc0e49ad19bea65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/202] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 0bd6c536bb6e8b80ddf978283d033616e2b86ebe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/202] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 660e256af1dad932093747be88751092d321a394 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/202] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 3da54d457a2e20707a97b9baca6b4c2a3a0bbc11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/202] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 59e63764b51a7e359ec033608e57edf54cc25cbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/202] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 42af4a122f4624e01c7c7427e701a30ddedcb18b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/202] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From bb0af3766eca947a3c58c1e3c2dab0bbfbbced00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/202] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7deb4468e133f60f2ab642f4bca7c2f8975b6c95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/202] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 503d9b393f4279cc3e600147e2d5bbd10c78f04f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/202] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From a5f86c20b43253608a965b80f9f94853ee2e8a76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/202] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c5234ab57be480f73c5f7d0a06e9e721121e8025 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/202] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d54b3e53558c32725f51b74a2157fc2ac74130bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/202] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From ceeea60520d168883515de76c2d88127dd41879d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/202] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f63e62074bc334fd133009373d257fb9ab3821cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/202] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 35c47e484314f49a13bd720bdd20859f56483ae0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/202] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a16244a921bd34531f39c2925ce00a7342efa1f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/202] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 75e36e219d5845c703e254798fe1f0c4823d5d37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/202] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From cb5373610eae4aae35f3c4d255f1ba691c815890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/202] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a44e173d0eade9cc8c6c7979fcf45c5143bfa5b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/202] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 9a562aa2c933eb61c5af08885cd7e5575bf736b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/202] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a9e2aaaf3c7447eefc5582c4c6b1b3de765b5f91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/202] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 76df694a5beb9270618249985ab39afc9209be63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/202] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From f255ca84f0d100f179354492b8de90c360d07fc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/202] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 8b04f23e6a6467710c54b29524c65f0e660b0162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/202] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From d4a4c352f8faaaf2d5c19b431fe6da0f1d5c7321 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/202] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 3a0ef2c15c692494b3599daf0f40d6da00156f12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/202] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 9bda198eedd7628c199956f2e606b44f03a3fa03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/202] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 4e5897608686f9d116da3f5e23095c5bed7acaa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/202] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 28e6f9df1a511a0c06989236cc0dbc3974fb3447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/202] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3657e9dc386cd78061a932c14d1754ddc2de27ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/202] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 259fd176b5962835421165c4d25329d4c069bfa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/202] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 9db5b98d753b1468923f4d3d57317ca68ccdf524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/202] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From aa5815d8da0246108616a15ac5156f48304ead88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/202] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From e54d7a3006d79a48b86470e40e48f3b9de537d48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/202] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 38ebc62b3b39852161cb0231225efa6e52e26ea9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/202] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 327320077b57069e7c88d42fc94b7146f214dabd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/202] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 716fd14a30d754cc11660f1c49dddff7a4860109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/202] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 522efeaeb5e770e6836a91c0cadb0a9f2f340cc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/202] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 0401ef9229519d972242a8722a72a0010f85e2c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/202] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 93fb498ead21f416763576718517b74300cd2bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/202] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 4d29865429d737e90fac3210a87ebc8356c95aa8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/202] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From c315fcfbd36521a6946642408071805430d0fd5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/202] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From ad9e06423ba0d8af815dae114c5f594dcbec2f6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/202] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 75d9444cd2ddaea47663f8041eee966694a8b6fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/202] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From a993c027c294ed8954ff8111017e7d6460192d15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/202] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From a8655cc2cf9411c64d2c9aa8ca8f6777fd703492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/202] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From a68a5341204d29a0c912cb3837e410d70ce63ca8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/202] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From efed38d87b4615f41493b48e6a9cbbaf3ff96c1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/202] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 2dc7193b6a60e55aabfe81fc98a85f81626fe955 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/202] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 6699d2f36de5b324b9754340363d1a99b50d3850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/202] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From f9afe6ae5b74480714d55817b88ca53907a1fd23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/202] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 23acd5c90265478a6d95648f57258a8efa3929c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/202] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From ca171b797d78f91d97fc5e6d1357a0791b5612a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/202] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 25c3721e6b13091c5ad9d0c6c08c704c42437ec1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/202] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 6090232ad838c90d15dc1f657214702cf5147a48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/202] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From b940a82f96b4cd794fd7a58bb37f2c5c26002843 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/202] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From c5059d580e441956b0ededb325db4e54d69f3f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/202] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From d4ec56ce49a3c04dc1a3eb5f6dc2d88041de59af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/202] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From e9c72680affabdc2b4f4d24e491a10139d3dc202 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/202] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From bd412b54fbb2a800fa465f35d46fd8dcdeaf0cc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/202] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 9e5db011280c664be1c2b8d78016903530896a9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/202] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 42e48d69eeb394ea99930cc8299e2d0b93ea7df8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/202] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cc5b7645bfd276d0ad639cc90a78a558138ab2aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/202] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 31f6bf27af049c67d00a6ed57885f38b693da9c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/202] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cec5600d230081f040fd950ee5e75293ef409f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/202] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 6446d8f9a1020fd262e0cc374acb58f225e0551f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/202] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 2d4eb4844a498995551acf51476c5b73fd24c94e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/202] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From decbbe39ccc5bc2362304075d1314fcc70b74fee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/202] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From d2d72c4617607c5cac04d7f13268c25909afe83c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/202] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From ae258a10a9cd96e4fedb4c42b1f342d8742b0a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/202] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3d529a89e85bf21c487506eb32d9f7a0c1ec6ce5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/202] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 8ab8712ba8ef7ff48d3a1e9019523e152c63c0ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/202] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 47bf182bc49d1661a5e7a98510a3ac9fe1f74524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/202] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 17ebcafcfb094a5c69a2dab0cb2773b7b844f4a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/202] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From f4e56e404c23cf630674166c9cf933533984cd29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/202] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From cc933f51c758a45e83ca76d6db5b0ed48a7daa6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/202] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 1e145e395f1157b408745391f9c9ed0d58800d11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/202] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 187143981fb9bae29b00a5b7dcadeb03d27a67f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/202] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 7c4b335974a0cb3a7834f7822a707cad7c338109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/202] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 6af3d728ed3300ae63df5e862773c2755ed814ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/202] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 74261ae51f98737bb9ba706e029699a66f6121fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/202] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From f95990817db128ea74e956eb3e877db84a5865cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/202] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2ec7dc24d3b8053171e6bcd6d85a246f24abb204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/202] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 513d9aa1d9211ab468c87564b355b5888869a53d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/202] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 12577201f7f2208f66e8e0168d5d9bb2e5ce5dc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/202] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 20457e10dc1879fed8572ee70cab7edf542e7ec9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/202] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From cdf2a0c293ca2e214be1c343448714cab133fe34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/202] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From cc49ac563e4936dcb5366c44d6dd9c71e523ed5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/202] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 6269e116670f06c6049e09cb7ce0c2438f970681 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/202] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From ccfae5b8b250267b8cdbc3a13c2a63375b47d084 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/202] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 4826d6b034c898ca500eb8e70e33cd294eb4f7c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/202] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 38ff1593d391b1e0fa227149cb008c754fb3c60d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/202] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c9e7a405fefa66fe860e15e0cc4b35634a991203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/202] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 17e92c69d0e937da3c029b8f8d2207f481922d33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/202] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 32be474aa8d6db0b34bb222bacb7f35fd1b0b4f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/202] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 1ebd5271dafe3c6828c6cf9f956d0bcc99e9de1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/202] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 0ddda8237e8d89e0721a000351e4486bf4303a34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/202] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 597f848747e4cde188424c9cb394725ac55f84cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/202] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 981e36d690afae0754a9010ae429e9c1884d4067 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/202] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 9009f00493ee0f6801477e14ec6ef75b1c60f0f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/202] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 113f7e2b1d64de8f4fa8bd74d31cbcc070dc8f6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/202] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 129741463461df0e5b6110afe59c651af0ad9f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/202] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 3534cadc83adab51f2f96050b9d60a582ce59b42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/202] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3f17ccfaf37899dfce316f977e03127b222d60b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/202] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 5006bca25aa1dda28e8db896c5d9ff3849374f7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/202] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 85a5c23d4c04238f853732e7df7e3cc94866d0df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/202] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 034f606e085a51bd5fe09ee916322154667cf761 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/202] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 4d62801aa77c1550064d71451cde62913b2fd848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/202] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From e9d59730b07fdc590101db55728c5a0ec345b0e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/202] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2cd24e4ea8a298fe2506c213b88717ccb7f97da1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/202] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 9353e161072df5d26a62a3a28876908de32da796 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/202] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 7f8aef6d0e631851213d44c4c5edad46ca8b5b3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/202] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 761fb973398278b97625eddf5cd31b68acb5c2d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/202] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3915d8a89166d406afec686e34e01b51b0416c33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/202] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From f60235b6ebcbe0682a29cbab37bde4977d1c7438 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/202] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 6a959505e2ba485fbb1661027e0f0da1eddcdb40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/202] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e57219487e8a0049c95950324ecf1325c8e3ec8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/202] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 312b07b01f28385447512f31aa5508a56ae05676 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/202] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From d94d6a2ad3b65eb37faa100130885bd51eccc505 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/202] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From ea3cfcab52e17ff138e878cd030f0a5137840004 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/202] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 55bfd613fa48e813567648f26a54cb7afb820e20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/202] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 36639b1dfc8f8e384cf9f5e98c9557bb65084d19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/202] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From ade313ee78cd50599b6718f294cf82c567bd43ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/202] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 7de3913acfb5e2214fe359fb5fdce023cbac59c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/202] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 669db4c03b2a45aedc5f25a33d50473627fcc4c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/202] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 11e6d421ab39f2486f97c9979e646c748160991f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/202] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 972983fa6cb3cfaa3764896a60e44ab21a80ed8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/202] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 5f24c9844a06e3bb3072ee4be6c01e993c07bacb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/202] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From fcbebc1476cff0738503b09c9c25e97c449a4441 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/202] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ab782cbce48f9cc6ee6f24b8f7d9f7d2677d2c3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/202] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 5a7fb7746a660dd549aee2500e13aeb9008f9c5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/202] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From cf068152f276366547f7225a1f3d26b5940e8c20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/202] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 7f6f7d89f97e6b3cdd1bc2eb7e0b45b8ce14c64c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/202] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 2c055b379a6597fce13ea0c3f7ffaa762c0a019a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/202] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 185dbcc704d5537cbc42c75a1ad9e3063da285de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/202] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 77da7c50fea45c8415eb9054fd83d6958c8f51fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/202] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From e82312e9196793f5d75cf0c5c0a035831bfbe1e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/202] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From febf552ce956cc3a7540a2470cba15a5baf35803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/202] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 18057cb199b5332d45016231d359e51791f308b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/202] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 5c57756a8facbcab58a9d1f2c7946e37d72159c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/202] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From f769975d2e49a2fb853c9145664a469689e1c67e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/202] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 5dfe91a45a26ffe0e7a39e0e2e73060e83630c1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/202] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From d71f124ade5cffe50975e04b9b85471f0099092b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/202] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From f36ee4f87080919222610b5d463a4b399182ef98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/202] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From e9070fe0c604115ac3cf3aa38e028ed60e2d28a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/202] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From d1d2eff292f04b7f8f63118c4573aa1d810e9fa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/202] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f670d3a4ac20ecec41b7587da8d0f98a38d2d744 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/202] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 4860176396d544d3e2a7ef9b9cfb5857e1f696ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/202] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 6b61d5a8fb16210aa73f76bccd126e34f3a42a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/202] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From bde2e5bdd4e4693fe2af7f6fd4b81a92f41909a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/202] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From c040f369df243a7c24f9cdd611424ea175ed7f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/202] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From a75f29b03dab589a888c65691ed77ced4bdaf3b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/202] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 145f23310e152e1c275527e801e92a7c59839544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/202] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 055774118ebfc4db07cfb88b9feb077220101a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/202] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 6fe63da8484a3917ea9b7db87dd2c71fc63ba64e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/202] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 3b5bd3449d6a4db5be75885786c073fd74354958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/202] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 0084b269a6537512f206c606e5ade959187bad2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/202] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From dbe373f2b91010356f18bc7441d465a00943142c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/202] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 16615919677687e15cbb303cc4b8fd82613607b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/202] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 678abb1950ffa7fe3f484793f34f43c870d7809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/202] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From e04c3c07a9f5a89adf324bc89a0eddfc5401e973 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/202] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From c07347e945a05415b13e78bda099ef81092e7c0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/202] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From ab3af23ef6b38c47cf348c04b366ae90f037c7c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/202] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 88a9d67f17436311ff67424ae388ef92bf2faac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/202] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 13b86f55e00e3e5b6e6b9824a706d0d49ae9d958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/202] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 2d094a99c33fc3b0e1842d7e92c35ab650ad74b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/202] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 95b985d7b4305ce8cb115d70fb9e32990a3e27cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/202] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 24e9054e14d9d2e5e10f84a07822fd88709e79fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/202] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From f4f85faf0816965f9aaba35a85690cf5c2447cf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/202] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b1bd1dc156f040b89c84308b792d095f1db26204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/202] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From b914137578663d0671c1fef5f3551ff4384745e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/202] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 329c19305854adc8344206aa8233ff3f7134d827 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/202] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 8cd28dbfe7c92e4366e42ae5f4b3e2a5bd1f04e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/202] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From dcbb3c7c9dfe432c7fe8019130423230aa2babd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/202] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From cfcb8d3d78fde25424371f7ad636d9cc97166c98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/202] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 24a04cb836eea581ab5b306ab2990a06e6c24c6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/202] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 12b15ffe7038f0f9d13f85dd379039294f8520e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/202] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 1d59bef0c38ebe9ac0465724db970709749fbf67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/202] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From c23260d42a94afa67d3a908061e95c41170051fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/202] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From f015d060a10443566fd8a4b543cf44da6f2ac695 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/202] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From befd294a2da2a6f641afc558b9dffcf59a12dad8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/202] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 5a8d163c05bd0440579b1d5958caf1eac28527a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/202] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From da4ebbfc5b621ceff5ff0dcd0d0eb3faa6a72fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/202] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From fc9658d8d49412df73c8d4f05bd928f18c7e5eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/202] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From d3bc73aa56f32282f8d3f063e9f6421c1344295d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/202] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
  2020-08-18  0:20 ` [PR PATCH] [Updated] " pullmoll
  2020-08-18  0:47 ` pullmoll
@ 2020-08-18  1:15 ` pullmoll
  2020-08-18 12:59 ` pullmoll
                   ` (50 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18  1:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 162924 bytes --]

From e978f786c14b41bf0c47322de07d773c88a032cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/203] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 8a820779cd31e9a4ddf456843a9855efe1d06c5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/203] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 7223e7c2b41c5402ba8d48288db7b43c4511b121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/203] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 4192a99aeb7d94d4cd9acba747670272de4c5c9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/203] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 366d2f68e1eb0d3d7ef7536f1290ac6f08b3b473 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/203] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 39b9e136186c78f9da2df82fb20b0076665fd482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/203] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From a38a39ce52ec75e8f8bee3b24918a40883436cc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/203] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From eeaff3fc7db47ba1aa46c76f22d8e7c12c0e8b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/203] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 7ad3a70428c02e92d9ca98e846c9bcc7ed54ef3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/203] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 314b49ecae66fa0df76c3b34262e01eeb707cf5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/203] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 5d56770ad47f1b62a1cfc1e52afbe8ba8f3ae504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/203] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 6cd1852c9309767ae2ef6879159d87e7dfa2d5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/203] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0375b07035847a8ed1fb529c930f45a9c3665895 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/203] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From c7d48d1cbc5931e96c9162d07279e57a8ffcaaa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/203] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 21174eea3279ffbfe8189f3f81825ab0c1e9afb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/203] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 256401e41872b41dc8ae0a44a4242f77d122b356 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/203] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 76a8f47fbedd0c5fc5797dbd93c4182d5c575ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/203] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 33ec902d4f11221b616f03f34fc0e49ad19bea65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/203] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 0bd6c536bb6e8b80ddf978283d033616e2b86ebe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/203] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 660e256af1dad932093747be88751092d321a394 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/203] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 3da54d457a2e20707a97b9baca6b4c2a3a0bbc11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/203] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 59e63764b51a7e359ec033608e57edf54cc25cbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/203] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 42af4a122f4624e01c7c7427e701a30ddedcb18b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/203] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From bb0af3766eca947a3c58c1e3c2dab0bbfbbced00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/203] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7deb4468e133f60f2ab642f4bca7c2f8975b6c95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/203] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 503d9b393f4279cc3e600147e2d5bbd10c78f04f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/203] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From a5f86c20b43253608a965b80f9f94853ee2e8a76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/203] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c5234ab57be480f73c5f7d0a06e9e721121e8025 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/203] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d54b3e53558c32725f51b74a2157fc2ac74130bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/203] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From ceeea60520d168883515de76c2d88127dd41879d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/203] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f63e62074bc334fd133009373d257fb9ab3821cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/203] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 35c47e484314f49a13bd720bdd20859f56483ae0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/203] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a16244a921bd34531f39c2925ce00a7342efa1f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/203] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 75e36e219d5845c703e254798fe1f0c4823d5d37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/203] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From cb5373610eae4aae35f3c4d255f1ba691c815890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/203] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a44e173d0eade9cc8c6c7979fcf45c5143bfa5b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/203] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 9a562aa2c933eb61c5af08885cd7e5575bf736b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/203] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a9e2aaaf3c7447eefc5582c4c6b1b3de765b5f91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/203] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 76df694a5beb9270618249985ab39afc9209be63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/203] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From f255ca84f0d100f179354492b8de90c360d07fc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/203] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 8b04f23e6a6467710c54b29524c65f0e660b0162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/203] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From d4a4c352f8faaaf2d5c19b431fe6da0f1d5c7321 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/203] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 3a0ef2c15c692494b3599daf0f40d6da00156f12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/203] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 9bda198eedd7628c199956f2e606b44f03a3fa03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/203] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 4e5897608686f9d116da3f5e23095c5bed7acaa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/203] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 28e6f9df1a511a0c06989236cc0dbc3974fb3447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/203] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3657e9dc386cd78061a932c14d1754ddc2de27ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/203] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 259fd176b5962835421165c4d25329d4c069bfa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/203] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 9db5b98d753b1468923f4d3d57317ca68ccdf524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/203] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From aa5815d8da0246108616a15ac5156f48304ead88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/203] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From e54d7a3006d79a48b86470e40e48f3b9de537d48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/203] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 38ebc62b3b39852161cb0231225efa6e52e26ea9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/203] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 327320077b57069e7c88d42fc94b7146f214dabd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/203] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 716fd14a30d754cc11660f1c49dddff7a4860109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/203] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 522efeaeb5e770e6836a91c0cadb0a9f2f340cc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/203] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 0401ef9229519d972242a8722a72a0010f85e2c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/203] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 93fb498ead21f416763576718517b74300cd2bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/203] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 4d29865429d737e90fac3210a87ebc8356c95aa8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/203] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From c315fcfbd36521a6946642408071805430d0fd5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/203] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From ad9e06423ba0d8af815dae114c5f594dcbec2f6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/203] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 75d9444cd2ddaea47663f8041eee966694a8b6fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/203] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From a993c027c294ed8954ff8111017e7d6460192d15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/203] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From a8655cc2cf9411c64d2c9aa8ca8f6777fd703492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/203] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From a68a5341204d29a0c912cb3837e410d70ce63ca8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/203] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From efed38d87b4615f41493b48e6a9cbbaf3ff96c1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/203] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 2dc7193b6a60e55aabfe81fc98a85f81626fe955 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/203] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 6699d2f36de5b324b9754340363d1a99b50d3850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/203] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From f9afe6ae5b74480714d55817b88ca53907a1fd23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/203] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 23acd5c90265478a6d95648f57258a8efa3929c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/203] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From ca171b797d78f91d97fc5e6d1357a0791b5612a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/203] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 25c3721e6b13091c5ad9d0c6c08c704c42437ec1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/203] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 6090232ad838c90d15dc1f657214702cf5147a48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/203] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From b940a82f96b4cd794fd7a58bb37f2c5c26002843 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/203] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From c5059d580e441956b0ededb325db4e54d69f3f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/203] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From d4ec56ce49a3c04dc1a3eb5f6dc2d88041de59af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/203] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From e9c72680affabdc2b4f4d24e491a10139d3dc202 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/203] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From bd412b54fbb2a800fa465f35d46fd8dcdeaf0cc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/203] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 9e5db011280c664be1c2b8d78016903530896a9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/203] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 42e48d69eeb394ea99930cc8299e2d0b93ea7df8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/203] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cc5b7645bfd276d0ad639cc90a78a558138ab2aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/203] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 31f6bf27af049c67d00a6ed57885f38b693da9c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/203] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cec5600d230081f040fd950ee5e75293ef409f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/203] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 6446d8f9a1020fd262e0cc374acb58f225e0551f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/203] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 2d4eb4844a498995551acf51476c5b73fd24c94e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/203] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From decbbe39ccc5bc2362304075d1314fcc70b74fee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/203] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From d2d72c4617607c5cac04d7f13268c25909afe83c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/203] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From ae258a10a9cd96e4fedb4c42b1f342d8742b0a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/203] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3d529a89e85bf21c487506eb32d9f7a0c1ec6ce5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/203] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 8ab8712ba8ef7ff48d3a1e9019523e152c63c0ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/203] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 47bf182bc49d1661a5e7a98510a3ac9fe1f74524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/203] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 17ebcafcfb094a5c69a2dab0cb2773b7b844f4a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/203] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From f4e56e404c23cf630674166c9cf933533984cd29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/203] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From cc933f51c758a45e83ca76d6db5b0ed48a7daa6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/203] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 1e145e395f1157b408745391f9c9ed0d58800d11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/203] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 187143981fb9bae29b00a5b7dcadeb03d27a67f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/203] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 7c4b335974a0cb3a7834f7822a707cad7c338109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/203] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 6af3d728ed3300ae63df5e862773c2755ed814ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/203] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 74261ae51f98737bb9ba706e029699a66f6121fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/203] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From f95990817db128ea74e956eb3e877db84a5865cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/203] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2ec7dc24d3b8053171e6bcd6d85a246f24abb204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/203] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 513d9aa1d9211ab468c87564b355b5888869a53d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/203] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 12577201f7f2208f66e8e0168d5d9bb2e5ce5dc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/203] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 20457e10dc1879fed8572ee70cab7edf542e7ec9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/203] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From cdf2a0c293ca2e214be1c343448714cab133fe34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/203] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From cc49ac563e4936dcb5366c44d6dd9c71e523ed5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/203] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 6269e116670f06c6049e09cb7ce0c2438f970681 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/203] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From ccfae5b8b250267b8cdbc3a13c2a63375b47d084 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/203] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 4826d6b034c898ca500eb8e70e33cd294eb4f7c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/203] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 38ff1593d391b1e0fa227149cb008c754fb3c60d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/203] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c9e7a405fefa66fe860e15e0cc4b35634a991203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/203] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 17e92c69d0e937da3c029b8f8d2207f481922d33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/203] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 32be474aa8d6db0b34bb222bacb7f35fd1b0b4f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/203] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 1ebd5271dafe3c6828c6cf9f956d0bcc99e9de1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/203] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 0ddda8237e8d89e0721a000351e4486bf4303a34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/203] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 597f848747e4cde188424c9cb394725ac55f84cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/203] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 981e36d690afae0754a9010ae429e9c1884d4067 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/203] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 9009f00493ee0f6801477e14ec6ef75b1c60f0f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/203] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 113f7e2b1d64de8f4fa8bd74d31cbcc070dc8f6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/203] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 129741463461df0e5b6110afe59c651af0ad9f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/203] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 3534cadc83adab51f2f96050b9d60a582ce59b42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/203] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3f17ccfaf37899dfce316f977e03127b222d60b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/203] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 5006bca25aa1dda28e8db896c5d9ff3849374f7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/203] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 85a5c23d4c04238f853732e7df7e3cc94866d0df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/203] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 034f606e085a51bd5fe09ee916322154667cf761 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/203] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 4d62801aa77c1550064d71451cde62913b2fd848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/203] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From e9d59730b07fdc590101db55728c5a0ec345b0e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/203] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2cd24e4ea8a298fe2506c213b88717ccb7f97da1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/203] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 9353e161072df5d26a62a3a28876908de32da796 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/203] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 7f8aef6d0e631851213d44c4c5edad46ca8b5b3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/203] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 761fb973398278b97625eddf5cd31b68acb5c2d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/203] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3915d8a89166d406afec686e34e01b51b0416c33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/203] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From f60235b6ebcbe0682a29cbab37bde4977d1c7438 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/203] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 6a959505e2ba485fbb1661027e0f0da1eddcdb40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/203] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e57219487e8a0049c95950324ecf1325c8e3ec8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/203] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 312b07b01f28385447512f31aa5508a56ae05676 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/203] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From d94d6a2ad3b65eb37faa100130885bd51eccc505 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/203] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From ea3cfcab52e17ff138e878cd030f0a5137840004 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/203] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 55bfd613fa48e813567648f26a54cb7afb820e20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/203] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 36639b1dfc8f8e384cf9f5e98c9557bb65084d19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/203] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From ade313ee78cd50599b6718f294cf82c567bd43ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/203] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 7de3913acfb5e2214fe359fb5fdce023cbac59c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/203] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 669db4c03b2a45aedc5f25a33d50473627fcc4c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/203] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 11e6d421ab39f2486f97c9979e646c748160991f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/203] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 972983fa6cb3cfaa3764896a60e44ab21a80ed8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/203] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 5f24c9844a06e3bb3072ee4be6c01e993c07bacb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/203] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From fcbebc1476cff0738503b09c9c25e97c449a4441 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/203] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ab782cbce48f9cc6ee6f24b8f7d9f7d2677d2c3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/203] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 5a7fb7746a660dd549aee2500e13aeb9008f9c5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/203] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From cf068152f276366547f7225a1f3d26b5940e8c20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/203] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 7f6f7d89f97e6b3cdd1bc2eb7e0b45b8ce14c64c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/203] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 2c055b379a6597fce13ea0c3f7ffaa762c0a019a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/203] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 185dbcc704d5537cbc42c75a1ad9e3063da285de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/203] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 77da7c50fea45c8415eb9054fd83d6958c8f51fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/203] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From e82312e9196793f5d75cf0c5c0a035831bfbe1e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/203] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From febf552ce956cc3a7540a2470cba15a5baf35803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/203] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 18057cb199b5332d45016231d359e51791f308b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/203] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 5c57756a8facbcab58a9d1f2c7946e37d72159c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/203] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From f769975d2e49a2fb853c9145664a469689e1c67e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/203] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 5dfe91a45a26ffe0e7a39e0e2e73060e83630c1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/203] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From d71f124ade5cffe50975e04b9b85471f0099092b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/203] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From f36ee4f87080919222610b5d463a4b399182ef98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/203] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From e9070fe0c604115ac3cf3aa38e028ed60e2d28a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/203] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From d1d2eff292f04b7f8f63118c4573aa1d810e9fa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/203] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f670d3a4ac20ecec41b7587da8d0f98a38d2d744 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/203] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 4860176396d544d3e2a7ef9b9cfb5857e1f696ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/203] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 6b61d5a8fb16210aa73f76bccd126e34f3a42a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/203] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From bde2e5bdd4e4693fe2af7f6fd4b81a92f41909a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/203] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From c040f369df243a7c24f9cdd611424ea175ed7f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/203] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From a75f29b03dab589a888c65691ed77ced4bdaf3b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/203] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 145f23310e152e1c275527e801e92a7c59839544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/203] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 055774118ebfc4db07cfb88b9feb077220101a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/203] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 6fe63da8484a3917ea9b7db87dd2c71fc63ba64e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/203] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 3b5bd3449d6a4db5be75885786c073fd74354958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/203] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 0084b269a6537512f206c606e5ade959187bad2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/203] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From dbe373f2b91010356f18bc7441d465a00943142c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/203] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 16615919677687e15cbb303cc4b8fd82613607b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/203] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 678abb1950ffa7fe3f484793f34f43c870d7809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/203] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From e04c3c07a9f5a89adf324bc89a0eddfc5401e973 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/203] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From c07347e945a05415b13e78bda099ef81092e7c0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/203] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From ab3af23ef6b38c47cf348c04b366ae90f037c7c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/203] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 88a9d67f17436311ff67424ae388ef92bf2faac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/203] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 13b86f55e00e3e5b6e6b9824a706d0d49ae9d958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/203] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 2d094a99c33fc3b0e1842d7e92c35ab650ad74b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/203] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 95b985d7b4305ce8cb115d70fb9e32990a3e27cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/203] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 24e9054e14d9d2e5e10f84a07822fd88709e79fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/203] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From f4f85faf0816965f9aaba35a85690cf5c2447cf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/203] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b1bd1dc156f040b89c84308b792d095f1db26204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/203] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From b914137578663d0671c1fef5f3551ff4384745e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/203] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 329c19305854adc8344206aa8233ff3f7134d827 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/203] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 8cd28dbfe7c92e4366e42ae5f4b3e2a5bd1f04e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/203] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From dcbb3c7c9dfe432c7fe8019130423230aa2babd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/203] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From cfcb8d3d78fde25424371f7ad636d9cc97166c98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/203] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 24a04cb836eea581ab5b306ab2990a06e6c24c6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/203] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 12b15ffe7038f0f9d13f85dd379039294f8520e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/203] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 1d59bef0c38ebe9ac0465724db970709749fbf67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/203] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From c23260d42a94afa67d3a908061e95c41170051fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/203] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From f015d060a10443566fd8a4b543cf44da6f2ac695 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/203] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From befd294a2da2a6f641afc558b9dffcf59a12dad8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/203] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 5a8d163c05bd0440579b1d5958caf1eac28527a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/203] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From da4ebbfc5b621ceff5ff0dcd0d0eb3faa6a72fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/203] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From fc9658d8d49412df73c8d4f05bd928f18c7e5eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/203] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From d3bc73aa56f32282f8d3f063e9f6421c1344295d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/203] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 918cbbda03e18c7c393172c9adbadc3059004376 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/203] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (2 preceding siblings ...)
  2020-08-18  1:15 ` pullmoll
@ 2020-08-18 12:59 ` pullmoll
  2020-08-18 12:59 ` pullmoll
                   ` (49 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 12:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 163733 bytes --]

From e978f786c14b41bf0c47322de07d773c88a032cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/204] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 8a820779cd31e9a4ddf456843a9855efe1d06c5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/204] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 7223e7c2b41c5402ba8d48288db7b43c4511b121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/204] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 4192a99aeb7d94d4cd9acba747670272de4c5c9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/204] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 366d2f68e1eb0d3d7ef7536f1290ac6f08b3b473 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/204] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 39b9e136186c78f9da2df82fb20b0076665fd482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/204] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From a38a39ce52ec75e8f8bee3b24918a40883436cc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/204] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From eeaff3fc7db47ba1aa46c76f22d8e7c12c0e8b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/204] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 7ad3a70428c02e92d9ca98e846c9bcc7ed54ef3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/204] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 314b49ecae66fa0df76c3b34262e01eeb707cf5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/204] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 5d56770ad47f1b62a1cfc1e52afbe8ba8f3ae504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/204] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 6cd1852c9309767ae2ef6879159d87e7dfa2d5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/204] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0375b07035847a8ed1fb529c930f45a9c3665895 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/204] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From c7d48d1cbc5931e96c9162d07279e57a8ffcaaa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/204] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 21174eea3279ffbfe8189f3f81825ab0c1e9afb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/204] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 256401e41872b41dc8ae0a44a4242f77d122b356 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/204] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 76a8f47fbedd0c5fc5797dbd93c4182d5c575ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/204] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 33ec902d4f11221b616f03f34fc0e49ad19bea65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/204] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 0bd6c536bb6e8b80ddf978283d033616e2b86ebe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/204] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 660e256af1dad932093747be88751092d321a394 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/204] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 3da54d457a2e20707a97b9baca6b4c2a3a0bbc11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/204] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 59e63764b51a7e359ec033608e57edf54cc25cbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/204] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 42af4a122f4624e01c7c7427e701a30ddedcb18b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/204] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From bb0af3766eca947a3c58c1e3c2dab0bbfbbced00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/204] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7deb4468e133f60f2ab642f4bca7c2f8975b6c95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/204] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 503d9b393f4279cc3e600147e2d5bbd10c78f04f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/204] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From a5f86c20b43253608a965b80f9f94853ee2e8a76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/204] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c5234ab57be480f73c5f7d0a06e9e721121e8025 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/204] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d54b3e53558c32725f51b74a2157fc2ac74130bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/204] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From ceeea60520d168883515de76c2d88127dd41879d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/204] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f63e62074bc334fd133009373d257fb9ab3821cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/204] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 35c47e484314f49a13bd720bdd20859f56483ae0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/204] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a16244a921bd34531f39c2925ce00a7342efa1f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/204] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 75e36e219d5845c703e254798fe1f0c4823d5d37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/204] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From cb5373610eae4aae35f3c4d255f1ba691c815890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/204] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a44e173d0eade9cc8c6c7979fcf45c5143bfa5b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/204] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 9a562aa2c933eb61c5af08885cd7e5575bf736b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/204] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a9e2aaaf3c7447eefc5582c4c6b1b3de765b5f91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/204] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 76df694a5beb9270618249985ab39afc9209be63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/204] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From f255ca84f0d100f179354492b8de90c360d07fc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/204] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 8b04f23e6a6467710c54b29524c65f0e660b0162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/204] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From d4a4c352f8faaaf2d5c19b431fe6da0f1d5c7321 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/204] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 3a0ef2c15c692494b3599daf0f40d6da00156f12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/204] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 9bda198eedd7628c199956f2e606b44f03a3fa03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/204] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 4e5897608686f9d116da3f5e23095c5bed7acaa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/204] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 28e6f9df1a511a0c06989236cc0dbc3974fb3447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/204] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3657e9dc386cd78061a932c14d1754ddc2de27ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/204] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 259fd176b5962835421165c4d25329d4c069bfa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/204] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 9db5b98d753b1468923f4d3d57317ca68ccdf524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/204] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From aa5815d8da0246108616a15ac5156f48304ead88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/204] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From e54d7a3006d79a48b86470e40e48f3b9de537d48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/204] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 38ebc62b3b39852161cb0231225efa6e52e26ea9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/204] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 327320077b57069e7c88d42fc94b7146f214dabd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/204] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 716fd14a30d754cc11660f1c49dddff7a4860109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/204] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 522efeaeb5e770e6836a91c0cadb0a9f2f340cc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/204] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 0401ef9229519d972242a8722a72a0010f85e2c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/204] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 93fb498ead21f416763576718517b74300cd2bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/204] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 4d29865429d737e90fac3210a87ebc8356c95aa8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/204] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From c315fcfbd36521a6946642408071805430d0fd5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/204] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From ad9e06423ba0d8af815dae114c5f594dcbec2f6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/204] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 75d9444cd2ddaea47663f8041eee966694a8b6fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/204] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From a993c027c294ed8954ff8111017e7d6460192d15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/204] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From a8655cc2cf9411c64d2c9aa8ca8f6777fd703492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/204] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From a68a5341204d29a0c912cb3837e410d70ce63ca8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/204] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From efed38d87b4615f41493b48e6a9cbbaf3ff96c1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/204] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 2dc7193b6a60e55aabfe81fc98a85f81626fe955 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/204] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 6699d2f36de5b324b9754340363d1a99b50d3850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/204] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From f9afe6ae5b74480714d55817b88ca53907a1fd23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/204] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 23acd5c90265478a6d95648f57258a8efa3929c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/204] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From ca171b797d78f91d97fc5e6d1357a0791b5612a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/204] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 25c3721e6b13091c5ad9d0c6c08c704c42437ec1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/204] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 6090232ad838c90d15dc1f657214702cf5147a48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/204] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From b940a82f96b4cd794fd7a58bb37f2c5c26002843 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/204] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From c5059d580e441956b0ededb325db4e54d69f3f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/204] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From d4ec56ce49a3c04dc1a3eb5f6dc2d88041de59af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/204] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From e9c72680affabdc2b4f4d24e491a10139d3dc202 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/204] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From bd412b54fbb2a800fa465f35d46fd8dcdeaf0cc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/204] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 9e5db011280c664be1c2b8d78016903530896a9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/204] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 42e48d69eeb394ea99930cc8299e2d0b93ea7df8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/204] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cc5b7645bfd276d0ad639cc90a78a558138ab2aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/204] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 31f6bf27af049c67d00a6ed57885f38b693da9c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/204] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cec5600d230081f040fd950ee5e75293ef409f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/204] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 6446d8f9a1020fd262e0cc374acb58f225e0551f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/204] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 2d4eb4844a498995551acf51476c5b73fd24c94e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/204] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From decbbe39ccc5bc2362304075d1314fcc70b74fee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/204] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From d2d72c4617607c5cac04d7f13268c25909afe83c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/204] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From ae258a10a9cd96e4fedb4c42b1f342d8742b0a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/204] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3d529a89e85bf21c487506eb32d9f7a0c1ec6ce5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/204] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 8ab8712ba8ef7ff48d3a1e9019523e152c63c0ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/204] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 47bf182bc49d1661a5e7a98510a3ac9fe1f74524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/204] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 17ebcafcfb094a5c69a2dab0cb2773b7b844f4a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/204] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From f4e56e404c23cf630674166c9cf933533984cd29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/204] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From cc933f51c758a45e83ca76d6db5b0ed48a7daa6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/204] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 1e145e395f1157b408745391f9c9ed0d58800d11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/204] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 187143981fb9bae29b00a5b7dcadeb03d27a67f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/204] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 7c4b335974a0cb3a7834f7822a707cad7c338109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/204] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 6af3d728ed3300ae63df5e862773c2755ed814ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/204] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 74261ae51f98737bb9ba706e029699a66f6121fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/204] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From f95990817db128ea74e956eb3e877db84a5865cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/204] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2ec7dc24d3b8053171e6bcd6d85a246f24abb204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/204] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 513d9aa1d9211ab468c87564b355b5888869a53d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/204] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 12577201f7f2208f66e8e0168d5d9bb2e5ce5dc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/204] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 20457e10dc1879fed8572ee70cab7edf542e7ec9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/204] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From cdf2a0c293ca2e214be1c343448714cab133fe34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/204] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From cc49ac563e4936dcb5366c44d6dd9c71e523ed5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/204] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 6269e116670f06c6049e09cb7ce0c2438f970681 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/204] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From ccfae5b8b250267b8cdbc3a13c2a63375b47d084 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/204] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 4826d6b034c898ca500eb8e70e33cd294eb4f7c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/204] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 38ff1593d391b1e0fa227149cb008c754fb3c60d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/204] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c9e7a405fefa66fe860e15e0cc4b35634a991203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/204] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 17e92c69d0e937da3c029b8f8d2207f481922d33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/204] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 32be474aa8d6db0b34bb222bacb7f35fd1b0b4f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/204] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 1ebd5271dafe3c6828c6cf9f956d0bcc99e9de1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/204] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 0ddda8237e8d89e0721a000351e4486bf4303a34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/204] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 597f848747e4cde188424c9cb394725ac55f84cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/204] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 981e36d690afae0754a9010ae429e9c1884d4067 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/204] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 9009f00493ee0f6801477e14ec6ef75b1c60f0f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/204] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 113f7e2b1d64de8f4fa8bd74d31cbcc070dc8f6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/204] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 129741463461df0e5b6110afe59c651af0ad9f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/204] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 3534cadc83adab51f2f96050b9d60a582ce59b42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/204] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3f17ccfaf37899dfce316f977e03127b222d60b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/204] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 5006bca25aa1dda28e8db896c5d9ff3849374f7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/204] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 85a5c23d4c04238f853732e7df7e3cc94866d0df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/204] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 034f606e085a51bd5fe09ee916322154667cf761 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/204] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 4d62801aa77c1550064d71451cde62913b2fd848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/204] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From e9d59730b07fdc590101db55728c5a0ec345b0e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/204] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2cd24e4ea8a298fe2506c213b88717ccb7f97da1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/204] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 9353e161072df5d26a62a3a28876908de32da796 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/204] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 7f8aef6d0e631851213d44c4c5edad46ca8b5b3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/204] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 761fb973398278b97625eddf5cd31b68acb5c2d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/204] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3915d8a89166d406afec686e34e01b51b0416c33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/204] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From f60235b6ebcbe0682a29cbab37bde4977d1c7438 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/204] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 6a959505e2ba485fbb1661027e0f0da1eddcdb40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/204] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e57219487e8a0049c95950324ecf1325c8e3ec8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/204] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 312b07b01f28385447512f31aa5508a56ae05676 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/204] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From d94d6a2ad3b65eb37faa100130885bd51eccc505 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/204] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From ea3cfcab52e17ff138e878cd030f0a5137840004 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/204] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 55bfd613fa48e813567648f26a54cb7afb820e20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/204] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 36639b1dfc8f8e384cf9f5e98c9557bb65084d19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/204] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From ade313ee78cd50599b6718f294cf82c567bd43ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/204] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 7de3913acfb5e2214fe359fb5fdce023cbac59c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/204] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 669db4c03b2a45aedc5f25a33d50473627fcc4c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/204] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 11e6d421ab39f2486f97c9979e646c748160991f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/204] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 972983fa6cb3cfaa3764896a60e44ab21a80ed8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/204] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 5f24c9844a06e3bb3072ee4be6c01e993c07bacb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/204] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From fcbebc1476cff0738503b09c9c25e97c449a4441 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/204] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ab782cbce48f9cc6ee6f24b8f7d9f7d2677d2c3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/204] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 5a7fb7746a660dd549aee2500e13aeb9008f9c5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/204] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From cf068152f276366547f7225a1f3d26b5940e8c20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/204] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 7f6f7d89f97e6b3cdd1bc2eb7e0b45b8ce14c64c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/204] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 2c055b379a6597fce13ea0c3f7ffaa762c0a019a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/204] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 185dbcc704d5537cbc42c75a1ad9e3063da285de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/204] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 77da7c50fea45c8415eb9054fd83d6958c8f51fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/204] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From e82312e9196793f5d75cf0c5c0a035831bfbe1e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/204] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From febf552ce956cc3a7540a2470cba15a5baf35803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/204] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 18057cb199b5332d45016231d359e51791f308b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/204] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 5c57756a8facbcab58a9d1f2c7946e37d72159c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/204] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From f769975d2e49a2fb853c9145664a469689e1c67e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/204] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 5dfe91a45a26ffe0e7a39e0e2e73060e83630c1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/204] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From d71f124ade5cffe50975e04b9b85471f0099092b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/204] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From f36ee4f87080919222610b5d463a4b399182ef98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/204] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From e9070fe0c604115ac3cf3aa38e028ed60e2d28a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/204] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From d1d2eff292f04b7f8f63118c4573aa1d810e9fa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/204] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f670d3a4ac20ecec41b7587da8d0f98a38d2d744 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/204] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 4860176396d544d3e2a7ef9b9cfb5857e1f696ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/204] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 6b61d5a8fb16210aa73f76bccd126e34f3a42a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/204] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From bde2e5bdd4e4693fe2af7f6fd4b81a92f41909a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/204] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From c040f369df243a7c24f9cdd611424ea175ed7f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/204] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From a75f29b03dab589a888c65691ed77ced4bdaf3b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/204] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 145f23310e152e1c275527e801e92a7c59839544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/204] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 055774118ebfc4db07cfb88b9feb077220101a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/204] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 6fe63da8484a3917ea9b7db87dd2c71fc63ba64e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/204] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 3b5bd3449d6a4db5be75885786c073fd74354958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/204] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 0084b269a6537512f206c606e5ade959187bad2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/204] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From dbe373f2b91010356f18bc7441d465a00943142c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/204] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 16615919677687e15cbb303cc4b8fd82613607b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/204] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 678abb1950ffa7fe3f484793f34f43c870d7809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/204] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From e04c3c07a9f5a89adf324bc89a0eddfc5401e973 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/204] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From c07347e945a05415b13e78bda099ef81092e7c0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/204] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From ab3af23ef6b38c47cf348c04b366ae90f037c7c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/204] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 88a9d67f17436311ff67424ae388ef92bf2faac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/204] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 13b86f55e00e3e5b6e6b9824a706d0d49ae9d958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/204] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 2d094a99c33fc3b0e1842d7e92c35ab650ad74b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/204] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 95b985d7b4305ce8cb115d70fb9e32990a3e27cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/204] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 24e9054e14d9d2e5e10f84a07822fd88709e79fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/204] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From f4f85faf0816965f9aaba35a85690cf5c2447cf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/204] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b1bd1dc156f040b89c84308b792d095f1db26204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/204] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From b914137578663d0671c1fef5f3551ff4384745e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/204] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 329c19305854adc8344206aa8233ff3f7134d827 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/204] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 8cd28dbfe7c92e4366e42ae5f4b3e2a5bd1f04e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/204] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From dcbb3c7c9dfe432c7fe8019130423230aa2babd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/204] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From cfcb8d3d78fde25424371f7ad636d9cc97166c98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/204] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 24a04cb836eea581ab5b306ab2990a06e6c24c6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/204] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 12b15ffe7038f0f9d13f85dd379039294f8520e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/204] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 1d59bef0c38ebe9ac0465724db970709749fbf67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/204] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From c23260d42a94afa67d3a908061e95c41170051fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/204] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From f015d060a10443566fd8a4b543cf44da6f2ac695 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/204] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From befd294a2da2a6f641afc558b9dffcf59a12dad8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/204] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 5a8d163c05bd0440579b1d5958caf1eac28527a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/204] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From da4ebbfc5b621ceff5ff0dcd0d0eb3faa6a72fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/204] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From fc9658d8d49412df73c8d4f05bd928f18c7e5eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/204] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From d3bc73aa56f32282f8d3f063e9f6421c1344295d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/204] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 918cbbda03e18c7c393172c9adbadc3059004376 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/204] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 6483062ebd762eb1475764bf8802d4dd4e97d3be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 204/204] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (3 preceding siblings ...)
  2020-08-18 12:59 ` pullmoll
@ 2020-08-18 12:59 ` pullmoll
  2020-08-18 13:04 ` sgn
                   ` (48 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 12:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 164824 bytes --]

From e978f786c14b41bf0c47322de07d773c88a032cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/205] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 8a820779cd31e9a4ddf456843a9855efe1d06c5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/205] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 7223e7c2b41c5402ba8d48288db7b43c4511b121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/205] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 4192a99aeb7d94d4cd9acba747670272de4c5c9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/205] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 366d2f68e1eb0d3d7ef7536f1290ac6f08b3b473 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/205] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 39b9e136186c78f9da2df82fb20b0076665fd482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/205] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From a38a39ce52ec75e8f8bee3b24918a40883436cc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/205] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From eeaff3fc7db47ba1aa46c76f22d8e7c12c0e8b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/205] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 7ad3a70428c02e92d9ca98e846c9bcc7ed54ef3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/205] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 314b49ecae66fa0df76c3b34262e01eeb707cf5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/205] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 5d56770ad47f1b62a1cfc1e52afbe8ba8f3ae504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/205] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 6cd1852c9309767ae2ef6879159d87e7dfa2d5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/205] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0375b07035847a8ed1fb529c930f45a9c3665895 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/205] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From c7d48d1cbc5931e96c9162d07279e57a8ffcaaa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/205] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 21174eea3279ffbfe8189f3f81825ab0c1e9afb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/205] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 256401e41872b41dc8ae0a44a4242f77d122b356 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/205] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 76a8f47fbedd0c5fc5797dbd93c4182d5c575ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/205] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 33ec902d4f11221b616f03f34fc0e49ad19bea65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/205] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 0bd6c536bb6e8b80ddf978283d033616e2b86ebe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/205] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 660e256af1dad932093747be88751092d321a394 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/205] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 3da54d457a2e20707a97b9baca6b4c2a3a0bbc11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/205] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 59e63764b51a7e359ec033608e57edf54cc25cbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/205] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 42af4a122f4624e01c7c7427e701a30ddedcb18b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/205] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From bb0af3766eca947a3c58c1e3c2dab0bbfbbced00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/205] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7deb4468e133f60f2ab642f4bca7c2f8975b6c95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/205] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 503d9b393f4279cc3e600147e2d5bbd10c78f04f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/205] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From a5f86c20b43253608a965b80f9f94853ee2e8a76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/205] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c5234ab57be480f73c5f7d0a06e9e721121e8025 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/205] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d54b3e53558c32725f51b74a2157fc2ac74130bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/205] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From ceeea60520d168883515de76c2d88127dd41879d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/205] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f63e62074bc334fd133009373d257fb9ab3821cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/205] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 35c47e484314f49a13bd720bdd20859f56483ae0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/205] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a16244a921bd34531f39c2925ce00a7342efa1f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/205] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 75e36e219d5845c703e254798fe1f0c4823d5d37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/205] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From cb5373610eae4aae35f3c4d255f1ba691c815890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/205] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a44e173d0eade9cc8c6c7979fcf45c5143bfa5b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/205] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 9a562aa2c933eb61c5af08885cd7e5575bf736b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/205] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a9e2aaaf3c7447eefc5582c4c6b1b3de765b5f91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/205] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 76df694a5beb9270618249985ab39afc9209be63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/205] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From f255ca84f0d100f179354492b8de90c360d07fc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/205] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 8b04f23e6a6467710c54b29524c65f0e660b0162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/205] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From d4a4c352f8faaaf2d5c19b431fe6da0f1d5c7321 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/205] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 3a0ef2c15c692494b3599daf0f40d6da00156f12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/205] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 9bda198eedd7628c199956f2e606b44f03a3fa03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/205] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 4e5897608686f9d116da3f5e23095c5bed7acaa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/205] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 28e6f9df1a511a0c06989236cc0dbc3974fb3447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/205] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3657e9dc386cd78061a932c14d1754ddc2de27ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/205] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 259fd176b5962835421165c4d25329d4c069bfa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/205] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 9db5b98d753b1468923f4d3d57317ca68ccdf524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/205] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From aa5815d8da0246108616a15ac5156f48304ead88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/205] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From e54d7a3006d79a48b86470e40e48f3b9de537d48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/205] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 38ebc62b3b39852161cb0231225efa6e52e26ea9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/205] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 327320077b57069e7c88d42fc94b7146f214dabd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/205] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 716fd14a30d754cc11660f1c49dddff7a4860109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/205] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 522efeaeb5e770e6836a91c0cadb0a9f2f340cc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/205] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 0401ef9229519d972242a8722a72a0010f85e2c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/205] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 93fb498ead21f416763576718517b74300cd2bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/205] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 4d29865429d737e90fac3210a87ebc8356c95aa8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/205] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From c315fcfbd36521a6946642408071805430d0fd5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/205] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From ad9e06423ba0d8af815dae114c5f594dcbec2f6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/205] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 75d9444cd2ddaea47663f8041eee966694a8b6fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/205] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From a993c027c294ed8954ff8111017e7d6460192d15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/205] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From a8655cc2cf9411c64d2c9aa8ca8f6777fd703492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/205] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From a68a5341204d29a0c912cb3837e410d70ce63ca8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/205] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From efed38d87b4615f41493b48e6a9cbbaf3ff96c1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/205] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 2dc7193b6a60e55aabfe81fc98a85f81626fe955 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/205] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 6699d2f36de5b324b9754340363d1a99b50d3850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/205] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From f9afe6ae5b74480714d55817b88ca53907a1fd23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/205] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 23acd5c90265478a6d95648f57258a8efa3929c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/205] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From ca171b797d78f91d97fc5e6d1357a0791b5612a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/205] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 25c3721e6b13091c5ad9d0c6c08c704c42437ec1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/205] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 6090232ad838c90d15dc1f657214702cf5147a48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/205] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From b940a82f96b4cd794fd7a58bb37f2c5c26002843 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/205] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From c5059d580e441956b0ededb325db4e54d69f3f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/205] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From d4ec56ce49a3c04dc1a3eb5f6dc2d88041de59af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/205] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From e9c72680affabdc2b4f4d24e491a10139d3dc202 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/205] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From bd412b54fbb2a800fa465f35d46fd8dcdeaf0cc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/205] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 9e5db011280c664be1c2b8d78016903530896a9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/205] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 42e48d69eeb394ea99930cc8299e2d0b93ea7df8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/205] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cc5b7645bfd276d0ad639cc90a78a558138ab2aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/205] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 31f6bf27af049c67d00a6ed57885f38b693da9c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/205] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cec5600d230081f040fd950ee5e75293ef409f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/205] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 6446d8f9a1020fd262e0cc374acb58f225e0551f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/205] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 2d4eb4844a498995551acf51476c5b73fd24c94e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/205] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From decbbe39ccc5bc2362304075d1314fcc70b74fee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/205] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From d2d72c4617607c5cac04d7f13268c25909afe83c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/205] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From ae258a10a9cd96e4fedb4c42b1f342d8742b0a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/205] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3d529a89e85bf21c487506eb32d9f7a0c1ec6ce5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/205] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 8ab8712ba8ef7ff48d3a1e9019523e152c63c0ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/205] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 47bf182bc49d1661a5e7a98510a3ac9fe1f74524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/205] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 17ebcafcfb094a5c69a2dab0cb2773b7b844f4a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/205] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From f4e56e404c23cf630674166c9cf933533984cd29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/205] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From cc933f51c758a45e83ca76d6db5b0ed48a7daa6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/205] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 1e145e395f1157b408745391f9c9ed0d58800d11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/205] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 187143981fb9bae29b00a5b7dcadeb03d27a67f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/205] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 7c4b335974a0cb3a7834f7822a707cad7c338109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/205] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 6af3d728ed3300ae63df5e862773c2755ed814ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/205] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 74261ae51f98737bb9ba706e029699a66f6121fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/205] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From f95990817db128ea74e956eb3e877db84a5865cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/205] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2ec7dc24d3b8053171e6bcd6d85a246f24abb204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/205] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 513d9aa1d9211ab468c87564b355b5888869a53d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/205] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 12577201f7f2208f66e8e0168d5d9bb2e5ce5dc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/205] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 20457e10dc1879fed8572ee70cab7edf542e7ec9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/205] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From cdf2a0c293ca2e214be1c343448714cab133fe34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/205] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From cc49ac563e4936dcb5366c44d6dd9c71e523ed5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/205] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 6269e116670f06c6049e09cb7ce0c2438f970681 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/205] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From ccfae5b8b250267b8cdbc3a13c2a63375b47d084 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/205] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 4826d6b034c898ca500eb8e70e33cd294eb4f7c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/205] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 38ff1593d391b1e0fa227149cb008c754fb3c60d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/205] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c9e7a405fefa66fe860e15e0cc4b35634a991203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/205] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 17e92c69d0e937da3c029b8f8d2207f481922d33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/205] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 32be474aa8d6db0b34bb222bacb7f35fd1b0b4f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/205] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 1ebd5271dafe3c6828c6cf9f956d0bcc99e9de1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/205] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 0ddda8237e8d89e0721a000351e4486bf4303a34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/205] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 597f848747e4cde188424c9cb394725ac55f84cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/205] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 981e36d690afae0754a9010ae429e9c1884d4067 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/205] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 9009f00493ee0f6801477e14ec6ef75b1c60f0f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/205] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 113f7e2b1d64de8f4fa8bd74d31cbcc070dc8f6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/205] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 129741463461df0e5b6110afe59c651af0ad9f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/205] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 3534cadc83adab51f2f96050b9d60a582ce59b42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/205] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3f17ccfaf37899dfce316f977e03127b222d60b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/205] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 5006bca25aa1dda28e8db896c5d9ff3849374f7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/205] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 85a5c23d4c04238f853732e7df7e3cc94866d0df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/205] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 034f606e085a51bd5fe09ee916322154667cf761 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/205] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 4d62801aa77c1550064d71451cde62913b2fd848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/205] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From e9d59730b07fdc590101db55728c5a0ec345b0e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/205] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2cd24e4ea8a298fe2506c213b88717ccb7f97da1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/205] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 9353e161072df5d26a62a3a28876908de32da796 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/205] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 7f8aef6d0e631851213d44c4c5edad46ca8b5b3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/205] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 761fb973398278b97625eddf5cd31b68acb5c2d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/205] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3915d8a89166d406afec686e34e01b51b0416c33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/205] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From f60235b6ebcbe0682a29cbab37bde4977d1c7438 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/205] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 6a959505e2ba485fbb1661027e0f0da1eddcdb40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/205] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e57219487e8a0049c95950324ecf1325c8e3ec8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/205] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 312b07b01f28385447512f31aa5508a56ae05676 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/205] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From d94d6a2ad3b65eb37faa100130885bd51eccc505 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/205] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From ea3cfcab52e17ff138e878cd030f0a5137840004 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/205] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 55bfd613fa48e813567648f26a54cb7afb820e20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/205] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 36639b1dfc8f8e384cf9f5e98c9557bb65084d19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/205] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From ade313ee78cd50599b6718f294cf82c567bd43ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/205] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 7de3913acfb5e2214fe359fb5fdce023cbac59c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/205] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 669db4c03b2a45aedc5f25a33d50473627fcc4c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/205] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 11e6d421ab39f2486f97c9979e646c748160991f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/205] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 972983fa6cb3cfaa3764896a60e44ab21a80ed8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/205] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 5f24c9844a06e3bb3072ee4be6c01e993c07bacb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/205] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From fcbebc1476cff0738503b09c9c25e97c449a4441 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/205] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ab782cbce48f9cc6ee6f24b8f7d9f7d2677d2c3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/205] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 5a7fb7746a660dd549aee2500e13aeb9008f9c5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/205] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From cf068152f276366547f7225a1f3d26b5940e8c20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/205] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 7f6f7d89f97e6b3cdd1bc2eb7e0b45b8ce14c64c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/205] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 2c055b379a6597fce13ea0c3f7ffaa762c0a019a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/205] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 185dbcc704d5537cbc42c75a1ad9e3063da285de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/205] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 77da7c50fea45c8415eb9054fd83d6958c8f51fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/205] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From e82312e9196793f5d75cf0c5c0a035831bfbe1e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/205] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From febf552ce956cc3a7540a2470cba15a5baf35803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/205] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 18057cb199b5332d45016231d359e51791f308b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/205] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 5c57756a8facbcab58a9d1f2c7946e37d72159c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/205] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From f769975d2e49a2fb853c9145664a469689e1c67e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/205] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 5dfe91a45a26ffe0e7a39e0e2e73060e83630c1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/205] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From d71f124ade5cffe50975e04b9b85471f0099092b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/205] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From f36ee4f87080919222610b5d463a4b399182ef98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/205] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From e9070fe0c604115ac3cf3aa38e028ed60e2d28a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/205] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From d1d2eff292f04b7f8f63118c4573aa1d810e9fa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/205] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f670d3a4ac20ecec41b7587da8d0f98a38d2d744 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/205] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 4860176396d544d3e2a7ef9b9cfb5857e1f696ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/205] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 6b61d5a8fb16210aa73f76bccd126e34f3a42a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/205] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From bde2e5bdd4e4693fe2af7f6fd4b81a92f41909a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/205] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From c040f369df243a7c24f9cdd611424ea175ed7f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/205] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From a75f29b03dab589a888c65691ed77ced4bdaf3b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/205] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 145f23310e152e1c275527e801e92a7c59839544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/205] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 055774118ebfc4db07cfb88b9feb077220101a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/205] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 6fe63da8484a3917ea9b7db87dd2c71fc63ba64e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/205] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 3b5bd3449d6a4db5be75885786c073fd74354958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/205] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 0084b269a6537512f206c606e5ade959187bad2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/205] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From dbe373f2b91010356f18bc7441d465a00943142c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/205] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 16615919677687e15cbb303cc4b8fd82613607b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/205] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 678abb1950ffa7fe3f484793f34f43c870d7809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/205] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From e04c3c07a9f5a89adf324bc89a0eddfc5401e973 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/205] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From c07347e945a05415b13e78bda099ef81092e7c0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/205] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From ab3af23ef6b38c47cf348c04b366ae90f037c7c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/205] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 88a9d67f17436311ff67424ae388ef92bf2faac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/205] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 13b86f55e00e3e5b6e6b9824a706d0d49ae9d958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/205] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 2d094a99c33fc3b0e1842d7e92c35ab650ad74b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/205] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 95b985d7b4305ce8cb115d70fb9e32990a3e27cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/205] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 24e9054e14d9d2e5e10f84a07822fd88709e79fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/205] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From f4f85faf0816965f9aaba35a85690cf5c2447cf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/205] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b1bd1dc156f040b89c84308b792d095f1db26204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/205] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From b914137578663d0671c1fef5f3551ff4384745e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/205] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 329c19305854adc8344206aa8233ff3f7134d827 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/205] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 8cd28dbfe7c92e4366e42ae5f4b3e2a5bd1f04e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/205] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From dcbb3c7c9dfe432c7fe8019130423230aa2babd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/205] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From cfcb8d3d78fde25424371f7ad636d9cc97166c98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/205] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 24a04cb836eea581ab5b306ab2990a06e6c24c6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/205] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 12b15ffe7038f0f9d13f85dd379039294f8520e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/205] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 1d59bef0c38ebe9ac0465724db970709749fbf67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/205] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From c23260d42a94afa67d3a908061e95c41170051fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/205] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From f015d060a10443566fd8a4b543cf44da6f2ac695 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/205] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From befd294a2da2a6f641afc558b9dffcf59a12dad8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/205] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 5a8d163c05bd0440579b1d5958caf1eac28527a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/205] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From da4ebbfc5b621ceff5ff0dcd0d0eb3faa6a72fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/205] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From fc9658d8d49412df73c8d4f05bd928f18c7e5eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/205] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From d3bc73aa56f32282f8d3f063e9f6421c1344295d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/205] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 918cbbda03e18c7c393172c9adbadc3059004376 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/205] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 6483062ebd762eb1475764bf8802d4dd4e97d3be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 204/205] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From af5d69892814d893b72033b8cdf86e200736d6a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 205/205] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (4 preceding siblings ...)
  2020-08-18 12:59 ` pullmoll
@ 2020-08-18 13:04 ` sgn
  2020-08-18 13:07 ` [PR PATCH] [Updated] " pullmoll
                   ` (47 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: sgn @ 2020-08-18 13:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/24334#issuecomment-675466051

Comment:
`mesa` also needs to be rebuilt, but update to 20.1.5 fixed `-fcommon` #24312 

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (5 preceding siblings ...)
  2020-08-18 13:04 ` sgn
@ 2020-08-18 13:07 ` pullmoll
  2020-08-18 13:14 ` pullmoll
                   ` (46 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 13:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 164824 bytes --]

From f877f06759dffe6159307b059c2b428adfa0e353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/205] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From e78095c2db5163872f42fb2cb1759e93863532cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/205] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From dd1ec68546470eaf698f9c8ed13b695a23018b9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/205] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 06b1d234a722d6ad31725598c084c3ac75001eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/205] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 6d960121cf028305371797824b72b0ba8ddbdbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/205] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From f88aac87aa893ed45ccc0391876a43777b6873bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/205] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7479071e2b2738ccb684ca96ba9bc98cfc8bde8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/205] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7205ae8a179cda40fba07dfa5fcd4ce523190cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/205] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From ede7801dca1dc1e986cc87c325501b9f3d2bc561 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/205] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From b05fb15963cafc04d232bce17acbda3b2df7d0b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/205] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 793423766f6a4aa3882a3adf5e838034f1a01210 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/205] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From d36e98bbd2d8016a182b98dd5d90a82f65d161f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/205] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 38c9232f8d0f5eeb62080a7aaf618b0ded9c4046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/205] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0fb2ff3324dafa26fae1fe96a1c0e3455c65203b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/205] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f3eae4a94826b37f4d6ccefeca3d02b2597f5bdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/205] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3fa92f47e1396980bc208875d9f0ee118a90547f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/205] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 93c5c7f8cae6b346bb4e7697bb902216bfe4e19a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/205] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 15b169afdf4dc98135094ef188cef419caf6d4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/205] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 56bb572a7025634e77b6a9a46b440fbb5b683670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/205] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 55a863b0bacd339c1b553f1decc6f5795f3041f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/205] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 1b940ac0075106d92d6444812a29e47e53c8a6e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/205] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From f6ff4615e05314aae1fbd14e413c91b2a60f5ebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/205] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From a3076df0ad8b63c248a296d5c6e212376f8eb58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/205] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 9610d25c46d317c894004980ca15f259de6ddd4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/205] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9a7bfef3f2c07cd17a1c015efadcc7823d7a11ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/205] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 8bfcf70da68ec1211d98f37650f12da743b571f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/205] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 3295a10802f793981cc4701f6aef656232692525 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/205] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c371639002b887b7d1c3513a08d4e217789fb23c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/205] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 160e120ad6dac230ccc1e7e999c022d459fdf547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/205] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 219cc3385ebd866d9952b8b9f3f4ff3465e6fec3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/205] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f9a72f7f3ecfbc56b9322c3b23865c1d2d12a35b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/205] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From d40db0774195c3ae635e0c0fbec8f8cb2a1567b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/205] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b26136fd408b6b1346e3a6ecb51a3399b36cd09b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/205] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 3ea86a068a5f3a55ff36b3fd6d62f39428df5a58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/205] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 631a7057612a3936d67e309572e448743d8a55f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/205] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From fe82593671ab2411e8402ff8c0110ec3829b81b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/205] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 8f90689e2b609fe745de0ad023c465c8c7173538 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/205] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5b8362d9839f35551b97797ae77b9e528b70f4c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/205] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 24a9e3e1e9092d7b277bf1f9c583013a0da6921f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/205] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 8b46e5a501c4c41829849d72729d71f22f58dd95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/205] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From c232ee7c46ce8d5c7c3b06f9833fcbf9f7da6f20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/205] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From bccea95dbe1f51f941f2bc13c1143a82572a6d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/205] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 6f55d71c5b2d9c9a37f5937ebb8ff96abf82d6bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/205] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 2da1fdb3294ad726c8cafd918dd3b4ef4cfc927d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/205] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 0721848ce9702c753460335d9abc453feea0f51f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/205] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 02b37281c3e826c62ff9fce95f908fdee86751bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/205] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 93880a4e7fe8004b680a1683b5bd60d4b8d748d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/205] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 0d8cab7027435d06fd86f944d7984e4321906429 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/205] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 8c307a6125246bf941eef2eff536a7ee4a96b2a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/205] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 830a290411af7b6d1483910176bd2e3cf9af0093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/205] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From af24020797067a7a9ecf03e92eb5a090dd97b6e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/205] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 0cd217932c5d42c9eb6f5fac7d75091efcb445ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/205] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From e5e5d5d1bc59570bf3f26cb8b9d1076f8550373a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/205] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 00af08c5711bab4f9f66c3a2307e2d080efde766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/205] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From a0f8c415d56598ffa06d23ad334581e579f6465e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/205] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 72df2f5d895e039871a35a4e1440645d45d268d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/205] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 09cd9651c725f2202b14ab72e6f126ce9266aa52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/205] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 87619803f42fc07d4f576ea2683bc473d7d9bfd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/205] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 6987f4855d36f6f1fa4409908217d337d659d788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/205] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9151c1728fc6c1db9c3d87aaeccf8a7279d21301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/205] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From ebc20f7327c5c2834bebda2243867bf2b136b49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/205] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 39d4f019f82f83877ddb0326895348183cab12d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/205] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 099215219f8e920d3a3d8a29ffe86e5a0da9ead9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/205] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From d0d51dc7182f2d71426a5db941f99025700ccfa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/205] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5bf3e73185f6cd20519ccd3bb1f78521e150bac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/205] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 3d881f580d70fecbc05f66a107412000fe549bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/205] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From c0a3d6d7c5e3c115ea01ed384c4bf14d968aa091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/205] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b93785477d9efdb734068728d470eaa6493c993f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/205] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From c21cb55d18543fc3546c8d495c54bba5cd80bc7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/205] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 1933415c50b26475dc1689eec804616c98465fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/205] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From eee2daaba204644f4f3fbd6f66be60165d68e2a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/205] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bfb6d369c4fd69029161ddc89521b23442b2419c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/205] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From d8b19188b788d0d62991bcf8415cc1ec4a715bd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/205] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 463a04161b43d10388f740d2516b4ef7b8f9a71b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/205] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 0138aa5cbacd3732befd8831904d2c125ffcb087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/205] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bae6cd04666543b55c4e20d90f204b9a1b9e2b3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/205] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6ef29da6fea8426aa60f31f75ac1e240d3454a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/205] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 533202d1bb1f823d1c8411bd7175cfef8c90de19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/205] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From ac628dbf8fb0801cbdc6319593d54c92f87161e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/205] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cf03d9464f082bb3b31d94faf717e4b40c89642d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/205] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From cdf7b368023d5edd9dbe29b1bb72df87da678d5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/205] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cdafbd7deda472b216cb85a36a056f7379085c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/205] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 78813b962af2038002aa765c2b8ae239d227feee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/205] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From d34e77238fb8814dfb3db09091ccfdda1b68669b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/205] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 10349f12c8b1825d3406599de2f31329485f05d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/205] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 67bc28b07f0e3b14ebea30b2b5950211151a15a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/205] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 1f7663b5c2d62c3ca92bacf3e343536d8a3ac18a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/205] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d6cb15cf3c13829d93108021228f2e129f39ab3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/205] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3888aa738519f1cc93b749b59be7f460cc7e06cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/205] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 7b964b6f714b04b861e6d2ea176f2d0e91c48f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/205] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 54cf65bf965464aaf416563c5286112ca3303d00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/205] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 96e6d4c52d7292736c9673da0a43ceefb108e323 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/205] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From b210fcf89408f036e2cc922c113a0aca965c987f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/205] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From f15cd2d9abfd8c5975b5211428002e4f58d24964 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/205] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From b5fcec73f5e012eda23a4bc77be7a95b5cded9a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/205] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From d7be928a4c9aee859e0e706b0392d48388580dce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/205] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 24079be9c1960b6ba7b1cbfb80c33bbf4961865f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/205] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 3d71432b9833bf884a1efd99dae5c2969fed6f85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/205] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8326e69dbe314f58585671c2b6ec6604e8c23a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/205] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 52766b046f3b1f7a98dfb563bf520d927f291b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/205] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From b469c260072599e110fe76479f062b7da2b4bfc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/205] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From dbefe8ab005dee8d6c96c32a9a58b7c335cfd683 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/205] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 593e4d96a86abbd9d4937c1cf87e7e61ccbf1703 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/205] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 796808eda84f6b27d15f4f0d742a44f3c9bee39b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/205] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 0e61e6db38fbb33c838276a11ebef527b01721b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/205] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From e517979fa3bef7e5fbb9eb2661e56ab46c2b892e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/205] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 3a7b86b88602155d723ef37b826d9c9d57ff7c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/205] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9a5f6263fdf30754e2e3ed097ad2539ca17d22cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/205] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 71f834673d69af4014aea6ad2d88d69b0795f264 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/205] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c2bc9d6af5495f7035961666d2b613004106613c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/205] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 77493eca134e915336162c4f500242bcb1cd9f3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/205] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 90a97c4bc20a08a6072d601f213fa14fa3d2dc1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/205] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 4a646e0587001f4c2758fc609cd6c1926e2e122b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/205] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 49d542557ab9e0af4bc0cbebca5f48bc1f8fa5e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/205] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 3f2ade3d5ab22edd2684f95823092f0f5b712c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/205] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 8f99e23ce98504d0bf082cc0252739afcdbbb4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/205] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a0961cab329637fcfe57e65feefe84c2657d0b5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/205] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From e14f23efb8cc7d3623cdaeb2f8e2b585d1a98002 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/205] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f395001f0187505329619b085d50d80a3a051900 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/205] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From a4fa7722ec7b74e1cbaa63915ea2a88de3fb362a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/205] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3870dd4e93135bb53bb2a9f0fc55d6ca7516c981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/205] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 2756ec6adbbafb87adba1df565ff3172b7eedf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/205] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From d7be9a461c3dde63dff817d208f9007979c474e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/205] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 827e930a9de2db56cd0f9d166e51e3fac582feab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/205] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 3fba93ac3982ffa854f4f88daf0f04f5770051f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/205] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 8c84c072da2ddda3529f5e415aee989c4323df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/205] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3186fb8b1b25ac4a06798a9c16d4242ce72078ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/205] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 2f97673d94216e28e2518d60331cc98429c3ecee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/205] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 185d2c10f5e9ddc969f4f01600a155e7937468eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/205] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 69b4bc5de3bd45f1c794afd4389345c2af175361 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/205] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 49c23865508fc67ca5afb5535370633a89ebbae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/205] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 59a2fb9dbbb91cc281f19af3959a4254c9af23e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/205] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 71230e904cfab2b7348bc436b3c67a26f14b0808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/205] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9ccc5941ff4cd6b09749596dd75ea1e13536d5f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/205] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0fc514d7c0ab7d660b15fdd3e250cef2c43a6860 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/205] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a409351bdfd160045333cd120ec8bc9f11274df0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/205] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 0898fb541611f9047f552d4f9b65de44616a4deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/205] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 534abe8548ede9eaa4f77b537f7db7053aea1f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/205] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From ef829ed4d24c9eaddc97766f8f5c28631a0dc548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/205] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 3859a2edee5580b26ced04094e7aeb4cf77e9451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/205] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From da631a2ad1cdf3c132a681208be189b2c9c018fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/205] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 350842e73e6f4d1356f15a5237adc9bb17409810 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/205] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7855ddf0a5c5edf1a113240d9a933fd2bcf248f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/205] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 49cb4bc4a6c4dc5aa9371cb18f702a7744dfe52e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/205] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 64d526bb240c98d6e907ebd1da53c18e7d0f0755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/205] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 7771e501ef325af93c4470f643d03dd40c95e4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/205] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From e9214c2f7c514e5d12127422a56d2f50a4ad3e61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/205] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 4dba16989d36b37975338dee5ade9761c6b94287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/205] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From e701d51785b65f4928acf70912fde9548d03b90d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/205] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From b2aa9bc237779dd5a3bc88cb9c15baf24de660c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/205] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From fa1b1e1a6eb6ebbd882caf0283f239735f991b92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/205] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 5136e6c01677ce41875315cd9d65713aae9ff9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/205] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From e0647830df073711b478b47f6619aa3dd5b0f566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/205] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 672e6225a526ecfb54ca8721cfdac9f47a875b9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/205] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 36567647a828319b6aeeb1619e69e3d13e3647a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/205] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 47953cdee9abc5f56cb3621ad3d259872b22c446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/205] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 67bd857564f9077164e17ec23850a01221bf6f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/205] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c366ffecca75532922647662f2bbce173dde9c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/205] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a014cd020d0ffef403ef36a775887a53fae8962c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/205] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 910f27215e3771f553bcda51fd3ac7535a706e7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/205] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From cb7364c9f6efafdf3d20d8c1e5bbe8dd97f56aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/205] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 4c73faa386ca6e99a68e92b352a7fc93c4675439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/205] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 4d9100757c46787de410220788fed365196ff4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/205] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 49f2a2839d511d851e07c2e30a1d3afe4aff01ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/205] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From a3d0350afaf7e308a420482b6696e2f8a105afe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/205] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c44cadbebc653b98494f989eb09b94832062a731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/205] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 181aadf8f202e0692aa0b75d46c148c4c64c7e8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/205] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1e924d1842416704c3edb1af10d9973e87e4b2ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/205] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From c3975868453927e2cc6ccbf6d118ecc19d359547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/205] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 81ac1111342e83244bf2c9920ae463b4b1283630 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/205] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 12259ea94deaf8528afac81a31aedac765fc18cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/205] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 51e8db846b268eb99e7d93a293cbd052e90d523f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/205] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From e6a572a1d6b960e1225648f24e6b030ad4872255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/205] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 047e3c6680aebaba0a4e1ba6d950b6eaa5f69db4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/205] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fe37ce9f036061a5cad32728f7df2cd0448668e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/205] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 4d4ea9311c9985fcc5c79645e306056dda69276c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/205] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 4265ee2e1d49c0b81cb1d3f904c53f387dd539d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/205] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 69f489cc35d2ef3e03ddb5f6def1b90f4cadf273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/205] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6a335b1d6ea9279b2b420e031b30fe4928b53590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/205] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 5c6b3348a36156d4c08d2f87c1b1811cc6e65c43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/205] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From a6511bad314a8c38c26a8a2cb8b86196058f22dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/205] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 520321ed55d76dadbfc200202901f07a20e9130c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/205] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From b2e50519e3b125972d6b2beacc3f67d06051972c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/205] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 8c32e675ff853eb4304c9f1a3c30832b88ea7694 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/205] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From ab0e0a00953e7a57e8a9131749cbda1f01b6fa0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/205] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c3662036e0ad3516d47e71b1fd15cc8820705ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/205] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From cd2635a4ec11ba572561273f0e1545e60bf81a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/205] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From d6956f4a8f398e7e42381868eb402aef9fcf716d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/205] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 1960b943e24a015c39d3cd247aa7a88ffc47bd7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/205] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From becf6f8645e9616f8f077f0f26f0ee880a250261 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/205] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 903accbab7d019f6ebd91789aa8d3ce5c566eaec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/205] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 14a402fa1862a2af3ccbf323ddd87665c1b52590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/205] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 64aa9394c86cd18e75ab92648f893ca6dfdf3ed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/205] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fb407d1d000dc400301fca630b19fda931716250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/205] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0b9930e63d30d46f16c0f916e3e2c06d2cfcc194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/205] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 1f9ed90f1a8b1f36f4faa7c271b0b9d9982f4b87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/205] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 46df7cb478bb131a0b882deff05b3c931ef9f1ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/205] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 5faec198e4342eb3451ca4e36da69015b9908b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/205] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From c2d615db2f6d62a0f40ba52ad1ee7c071d9bacf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/205] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From e2c637f5cb58fcb0d32ec64722612aeb4fde814a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/205] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From a1d406c05d86a4142f791f41c3a07d8c270ae3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/205] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 46ef03072edbfcaa42fe06b600a9f2615ca9e050 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/205] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 56cfa06a2d6e9338cff7a0a14318ac68dd8c3352 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/205] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 09fbf5cd848804bdaf2642564416a8f8245191df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 204/205] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 6ed88990495513c75f911c253a0003295f27b10f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 205/205] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (6 preceding siblings ...)
  2020-08-18 13:07 ` [PR PATCH] [Updated] " pullmoll
@ 2020-08-18 13:14 ` pullmoll
  2020-08-18 13:14 ` pullmoll
                   ` (45 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 13:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/24334#issuecomment-675471286

Comment:
Merged and builds fine with `gcc-10.2.0` as is.

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (7 preceding siblings ...)
  2020-08-18 13:14 ` pullmoll
@ 2020-08-18 13:14 ` pullmoll
  2020-08-18 13:29 ` [PR PATCH] [Updated] " pullmoll
                   ` (44 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 13:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/24334#issuecomment-675471286

Comment:
Merged `mesa-20.1.5` and builds fine with `gcc-10.2.0` as is.

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (8 preceding siblings ...)
  2020-08-18 13:14 ` pullmoll
@ 2020-08-18 13:29 ` pullmoll
  2020-08-18 14:02 ` pullmoll
                   ` (43 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 13:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 165859 bytes --]

From f877f06759dffe6159307b059c2b428adfa0e353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/206] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From e78095c2db5163872f42fb2cb1759e93863532cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/206] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From dd1ec68546470eaf698f9c8ed13b695a23018b9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/206] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 06b1d234a722d6ad31725598c084c3ac75001eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/206] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 6d960121cf028305371797824b72b0ba8ddbdbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/206] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From f88aac87aa893ed45ccc0391876a43777b6873bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/206] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7479071e2b2738ccb684ca96ba9bc98cfc8bde8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/206] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7205ae8a179cda40fba07dfa5fcd4ce523190cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/206] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From ede7801dca1dc1e986cc87c325501b9f3d2bc561 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/206] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From b05fb15963cafc04d232bce17acbda3b2df7d0b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/206] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 793423766f6a4aa3882a3adf5e838034f1a01210 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/206] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From d36e98bbd2d8016a182b98dd5d90a82f65d161f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/206] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 38c9232f8d0f5eeb62080a7aaf618b0ded9c4046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/206] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0fb2ff3324dafa26fae1fe96a1c0e3455c65203b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/206] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f3eae4a94826b37f4d6ccefeca3d02b2597f5bdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/206] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3fa92f47e1396980bc208875d9f0ee118a90547f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/206] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 93c5c7f8cae6b346bb4e7697bb902216bfe4e19a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/206] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 15b169afdf4dc98135094ef188cef419caf6d4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/206] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 56bb572a7025634e77b6a9a46b440fbb5b683670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/206] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 55a863b0bacd339c1b553f1decc6f5795f3041f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/206] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 1b940ac0075106d92d6444812a29e47e53c8a6e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/206] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From f6ff4615e05314aae1fbd14e413c91b2a60f5ebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/206] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From a3076df0ad8b63c248a296d5c6e212376f8eb58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/206] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 9610d25c46d317c894004980ca15f259de6ddd4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/206] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9a7bfef3f2c07cd17a1c015efadcc7823d7a11ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/206] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 8bfcf70da68ec1211d98f37650f12da743b571f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/206] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 3295a10802f793981cc4701f6aef656232692525 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/206] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c371639002b887b7d1c3513a08d4e217789fb23c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/206] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 160e120ad6dac230ccc1e7e999c022d459fdf547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/206] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 219cc3385ebd866d9952b8b9f3f4ff3465e6fec3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/206] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f9a72f7f3ecfbc56b9322c3b23865c1d2d12a35b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/206] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From d40db0774195c3ae635e0c0fbec8f8cb2a1567b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/206] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b26136fd408b6b1346e3a6ecb51a3399b36cd09b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/206] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 3ea86a068a5f3a55ff36b3fd6d62f39428df5a58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/206] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 631a7057612a3936d67e309572e448743d8a55f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/206] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From fe82593671ab2411e8402ff8c0110ec3829b81b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/206] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 8f90689e2b609fe745de0ad023c465c8c7173538 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/206] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5b8362d9839f35551b97797ae77b9e528b70f4c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/206] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 24a9e3e1e9092d7b277bf1f9c583013a0da6921f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/206] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 8b46e5a501c4c41829849d72729d71f22f58dd95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/206] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From c232ee7c46ce8d5c7c3b06f9833fcbf9f7da6f20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/206] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From bccea95dbe1f51f941f2bc13c1143a82572a6d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/206] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 6f55d71c5b2d9c9a37f5937ebb8ff96abf82d6bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/206] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 2da1fdb3294ad726c8cafd918dd3b4ef4cfc927d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/206] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 0721848ce9702c753460335d9abc453feea0f51f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/206] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 02b37281c3e826c62ff9fce95f908fdee86751bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/206] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 93880a4e7fe8004b680a1683b5bd60d4b8d748d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/206] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 0d8cab7027435d06fd86f944d7984e4321906429 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/206] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 8c307a6125246bf941eef2eff536a7ee4a96b2a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/206] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 830a290411af7b6d1483910176bd2e3cf9af0093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/206] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From af24020797067a7a9ecf03e92eb5a090dd97b6e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/206] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 0cd217932c5d42c9eb6f5fac7d75091efcb445ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/206] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From e5e5d5d1bc59570bf3f26cb8b9d1076f8550373a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/206] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 00af08c5711bab4f9f66c3a2307e2d080efde766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/206] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From a0f8c415d56598ffa06d23ad334581e579f6465e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/206] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 72df2f5d895e039871a35a4e1440645d45d268d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/206] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 09cd9651c725f2202b14ab72e6f126ce9266aa52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/206] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 87619803f42fc07d4f576ea2683bc473d7d9bfd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/206] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 6987f4855d36f6f1fa4409908217d337d659d788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/206] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9151c1728fc6c1db9c3d87aaeccf8a7279d21301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/206] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From ebc20f7327c5c2834bebda2243867bf2b136b49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/206] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 39d4f019f82f83877ddb0326895348183cab12d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/206] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 099215219f8e920d3a3d8a29ffe86e5a0da9ead9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/206] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From d0d51dc7182f2d71426a5db941f99025700ccfa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/206] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5bf3e73185f6cd20519ccd3bb1f78521e150bac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/206] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 3d881f580d70fecbc05f66a107412000fe549bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/206] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From c0a3d6d7c5e3c115ea01ed384c4bf14d968aa091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/206] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b93785477d9efdb734068728d470eaa6493c993f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/206] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From c21cb55d18543fc3546c8d495c54bba5cd80bc7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/206] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 1933415c50b26475dc1689eec804616c98465fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/206] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From eee2daaba204644f4f3fbd6f66be60165d68e2a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/206] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bfb6d369c4fd69029161ddc89521b23442b2419c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/206] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From d8b19188b788d0d62991bcf8415cc1ec4a715bd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/206] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 463a04161b43d10388f740d2516b4ef7b8f9a71b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/206] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 0138aa5cbacd3732befd8831904d2c125ffcb087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/206] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bae6cd04666543b55c4e20d90f204b9a1b9e2b3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/206] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6ef29da6fea8426aa60f31f75ac1e240d3454a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/206] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 533202d1bb1f823d1c8411bd7175cfef8c90de19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/206] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From ac628dbf8fb0801cbdc6319593d54c92f87161e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/206] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cf03d9464f082bb3b31d94faf717e4b40c89642d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/206] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From cdf7b368023d5edd9dbe29b1bb72df87da678d5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/206] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cdafbd7deda472b216cb85a36a056f7379085c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/206] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 78813b962af2038002aa765c2b8ae239d227feee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/206] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From d34e77238fb8814dfb3db09091ccfdda1b68669b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/206] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 10349f12c8b1825d3406599de2f31329485f05d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/206] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 67bc28b07f0e3b14ebea30b2b5950211151a15a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/206] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 1f7663b5c2d62c3ca92bacf3e343536d8a3ac18a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/206] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d6cb15cf3c13829d93108021228f2e129f39ab3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/206] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3888aa738519f1cc93b749b59be7f460cc7e06cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/206] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 7b964b6f714b04b861e6d2ea176f2d0e91c48f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/206] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 54cf65bf965464aaf416563c5286112ca3303d00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/206] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 96e6d4c52d7292736c9673da0a43ceefb108e323 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/206] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From b210fcf89408f036e2cc922c113a0aca965c987f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/206] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From f15cd2d9abfd8c5975b5211428002e4f58d24964 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/206] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From b5fcec73f5e012eda23a4bc77be7a95b5cded9a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/206] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From d7be928a4c9aee859e0e706b0392d48388580dce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/206] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 24079be9c1960b6ba7b1cbfb80c33bbf4961865f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/206] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 3d71432b9833bf884a1efd99dae5c2969fed6f85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/206] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8326e69dbe314f58585671c2b6ec6604e8c23a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/206] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 52766b046f3b1f7a98dfb563bf520d927f291b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/206] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From b469c260072599e110fe76479f062b7da2b4bfc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/206] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From dbefe8ab005dee8d6c96c32a9a58b7c335cfd683 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/206] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 593e4d96a86abbd9d4937c1cf87e7e61ccbf1703 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/206] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 796808eda84f6b27d15f4f0d742a44f3c9bee39b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/206] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 0e61e6db38fbb33c838276a11ebef527b01721b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/206] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From e517979fa3bef7e5fbb9eb2661e56ab46c2b892e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/206] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 3a7b86b88602155d723ef37b826d9c9d57ff7c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/206] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9a5f6263fdf30754e2e3ed097ad2539ca17d22cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/206] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 71f834673d69af4014aea6ad2d88d69b0795f264 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/206] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c2bc9d6af5495f7035961666d2b613004106613c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/206] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 77493eca134e915336162c4f500242bcb1cd9f3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/206] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 90a97c4bc20a08a6072d601f213fa14fa3d2dc1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/206] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 4a646e0587001f4c2758fc609cd6c1926e2e122b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/206] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 49d542557ab9e0af4bc0cbebca5f48bc1f8fa5e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/206] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 3f2ade3d5ab22edd2684f95823092f0f5b712c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/206] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 8f99e23ce98504d0bf082cc0252739afcdbbb4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/206] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a0961cab329637fcfe57e65feefe84c2657d0b5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/206] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From e14f23efb8cc7d3623cdaeb2f8e2b585d1a98002 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/206] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f395001f0187505329619b085d50d80a3a051900 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/206] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From a4fa7722ec7b74e1cbaa63915ea2a88de3fb362a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/206] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3870dd4e93135bb53bb2a9f0fc55d6ca7516c981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/206] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 2756ec6adbbafb87adba1df565ff3172b7eedf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/206] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From d7be9a461c3dde63dff817d208f9007979c474e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/206] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 827e930a9de2db56cd0f9d166e51e3fac582feab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/206] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 3fba93ac3982ffa854f4f88daf0f04f5770051f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/206] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 8c84c072da2ddda3529f5e415aee989c4323df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/206] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3186fb8b1b25ac4a06798a9c16d4242ce72078ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/206] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 2f97673d94216e28e2518d60331cc98429c3ecee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/206] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 185d2c10f5e9ddc969f4f01600a155e7937468eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/206] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 69b4bc5de3bd45f1c794afd4389345c2af175361 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/206] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 49c23865508fc67ca5afb5535370633a89ebbae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/206] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 59a2fb9dbbb91cc281f19af3959a4254c9af23e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/206] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 71230e904cfab2b7348bc436b3c67a26f14b0808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/206] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9ccc5941ff4cd6b09749596dd75ea1e13536d5f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/206] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0fc514d7c0ab7d660b15fdd3e250cef2c43a6860 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/206] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a409351bdfd160045333cd120ec8bc9f11274df0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/206] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 0898fb541611f9047f552d4f9b65de44616a4deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/206] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 534abe8548ede9eaa4f77b537f7db7053aea1f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/206] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From ef829ed4d24c9eaddc97766f8f5c28631a0dc548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/206] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 3859a2edee5580b26ced04094e7aeb4cf77e9451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/206] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From da631a2ad1cdf3c132a681208be189b2c9c018fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/206] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 350842e73e6f4d1356f15a5237adc9bb17409810 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/206] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7855ddf0a5c5edf1a113240d9a933fd2bcf248f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/206] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 49cb4bc4a6c4dc5aa9371cb18f702a7744dfe52e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/206] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 64d526bb240c98d6e907ebd1da53c18e7d0f0755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/206] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 7771e501ef325af93c4470f643d03dd40c95e4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/206] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From e9214c2f7c514e5d12127422a56d2f50a4ad3e61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/206] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 4dba16989d36b37975338dee5ade9761c6b94287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/206] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From e701d51785b65f4928acf70912fde9548d03b90d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/206] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From b2aa9bc237779dd5a3bc88cb9c15baf24de660c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/206] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From fa1b1e1a6eb6ebbd882caf0283f239735f991b92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/206] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 5136e6c01677ce41875315cd9d65713aae9ff9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/206] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From e0647830df073711b478b47f6619aa3dd5b0f566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/206] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 672e6225a526ecfb54ca8721cfdac9f47a875b9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/206] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 36567647a828319b6aeeb1619e69e3d13e3647a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/206] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 47953cdee9abc5f56cb3621ad3d259872b22c446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/206] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 67bd857564f9077164e17ec23850a01221bf6f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/206] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c366ffecca75532922647662f2bbce173dde9c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/206] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a014cd020d0ffef403ef36a775887a53fae8962c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/206] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 910f27215e3771f553bcda51fd3ac7535a706e7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/206] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From cb7364c9f6efafdf3d20d8c1e5bbe8dd97f56aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/206] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 4c73faa386ca6e99a68e92b352a7fc93c4675439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/206] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 4d9100757c46787de410220788fed365196ff4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/206] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 49f2a2839d511d851e07c2e30a1d3afe4aff01ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/206] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From a3d0350afaf7e308a420482b6696e2f8a105afe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/206] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c44cadbebc653b98494f989eb09b94832062a731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/206] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 181aadf8f202e0692aa0b75d46c148c4c64c7e8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/206] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1e924d1842416704c3edb1af10d9973e87e4b2ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/206] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From c3975868453927e2cc6ccbf6d118ecc19d359547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/206] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 81ac1111342e83244bf2c9920ae463b4b1283630 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/206] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 12259ea94deaf8528afac81a31aedac765fc18cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/206] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 51e8db846b268eb99e7d93a293cbd052e90d523f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/206] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From e6a572a1d6b960e1225648f24e6b030ad4872255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/206] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 047e3c6680aebaba0a4e1ba6d950b6eaa5f69db4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/206] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fe37ce9f036061a5cad32728f7df2cd0448668e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/206] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 4d4ea9311c9985fcc5c79645e306056dda69276c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/206] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 4265ee2e1d49c0b81cb1d3f904c53f387dd539d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/206] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 69f489cc35d2ef3e03ddb5f6def1b90f4cadf273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/206] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6a335b1d6ea9279b2b420e031b30fe4928b53590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/206] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 5c6b3348a36156d4c08d2f87c1b1811cc6e65c43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/206] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From a6511bad314a8c38c26a8a2cb8b86196058f22dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/206] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 520321ed55d76dadbfc200202901f07a20e9130c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/206] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From b2e50519e3b125972d6b2beacc3f67d06051972c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/206] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 8c32e675ff853eb4304c9f1a3c30832b88ea7694 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/206] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From ab0e0a00953e7a57e8a9131749cbda1f01b6fa0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/206] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c3662036e0ad3516d47e71b1fd15cc8820705ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/206] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From cd2635a4ec11ba572561273f0e1545e60bf81a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/206] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From d6956f4a8f398e7e42381868eb402aef9fcf716d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/206] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 1960b943e24a015c39d3cd247aa7a88ffc47bd7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/206] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From becf6f8645e9616f8f077f0f26f0ee880a250261 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/206] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 903accbab7d019f6ebd91789aa8d3ce5c566eaec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/206] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 14a402fa1862a2af3ccbf323ddd87665c1b52590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/206] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 64aa9394c86cd18e75ab92648f893ca6dfdf3ed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/206] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fb407d1d000dc400301fca630b19fda931716250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/206] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0b9930e63d30d46f16c0f916e3e2c06d2cfcc194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/206] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 1f9ed90f1a8b1f36f4faa7c271b0b9d9982f4b87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/206] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 46df7cb478bb131a0b882deff05b3c931ef9f1ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/206] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 5faec198e4342eb3451ca4e36da69015b9908b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/206] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From c2d615db2f6d62a0f40ba52ad1ee7c071d9bacf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/206] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From e2c637f5cb58fcb0d32ec64722612aeb4fde814a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/206] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From a1d406c05d86a4142f791f41c3a07d8c270ae3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/206] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 46ef03072edbfcaa42fe06b600a9f2615ca9e050 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/206] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 56cfa06a2d6e9338cff7a0a14318ac68dd8c3352 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/206] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 09fbf5cd848804bdaf2642564416a8f8245191df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 204/206] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 6ed88990495513c75f911c253a0003295f27b10f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 205/206] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 6862909d9aebba1cf0f6dc100c489acef237f4c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 206/206] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (9 preceding siblings ...)
  2020-08-18 13:29 ` [PR PATCH] [Updated] " pullmoll
@ 2020-08-18 14:02 ` pullmoll
  2020-08-18 14:37 ` pullmoll
                   ` (42 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 14:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 166887 bytes --]

From f877f06759dffe6159307b059c2b428adfa0e353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/207] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From e78095c2db5163872f42fb2cb1759e93863532cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/207] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From dd1ec68546470eaf698f9c8ed13b695a23018b9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/207] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 06b1d234a722d6ad31725598c084c3ac75001eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/207] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 6d960121cf028305371797824b72b0ba8ddbdbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/207] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From f88aac87aa893ed45ccc0391876a43777b6873bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/207] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7479071e2b2738ccb684ca96ba9bc98cfc8bde8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/207] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7205ae8a179cda40fba07dfa5fcd4ce523190cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/207] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From ede7801dca1dc1e986cc87c325501b9f3d2bc561 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/207] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From b05fb15963cafc04d232bce17acbda3b2df7d0b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/207] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 793423766f6a4aa3882a3adf5e838034f1a01210 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/207] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From d36e98bbd2d8016a182b98dd5d90a82f65d161f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/207] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 38c9232f8d0f5eeb62080a7aaf618b0ded9c4046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/207] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0fb2ff3324dafa26fae1fe96a1c0e3455c65203b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/207] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f3eae4a94826b37f4d6ccefeca3d02b2597f5bdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/207] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3fa92f47e1396980bc208875d9f0ee118a90547f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/207] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 93c5c7f8cae6b346bb4e7697bb902216bfe4e19a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/207] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 15b169afdf4dc98135094ef188cef419caf6d4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/207] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 56bb572a7025634e77b6a9a46b440fbb5b683670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/207] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 55a863b0bacd339c1b553f1decc6f5795f3041f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/207] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 1b940ac0075106d92d6444812a29e47e53c8a6e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/207] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From f6ff4615e05314aae1fbd14e413c91b2a60f5ebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/207] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From a3076df0ad8b63c248a296d5c6e212376f8eb58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/207] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 9610d25c46d317c894004980ca15f259de6ddd4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/207] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9a7bfef3f2c07cd17a1c015efadcc7823d7a11ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/207] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 8bfcf70da68ec1211d98f37650f12da743b571f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/207] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 3295a10802f793981cc4701f6aef656232692525 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/207] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c371639002b887b7d1c3513a08d4e217789fb23c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/207] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 160e120ad6dac230ccc1e7e999c022d459fdf547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/207] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 219cc3385ebd866d9952b8b9f3f4ff3465e6fec3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/207] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f9a72f7f3ecfbc56b9322c3b23865c1d2d12a35b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/207] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From d40db0774195c3ae635e0c0fbec8f8cb2a1567b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/207] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b26136fd408b6b1346e3a6ecb51a3399b36cd09b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/207] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 3ea86a068a5f3a55ff36b3fd6d62f39428df5a58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/207] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 631a7057612a3936d67e309572e448743d8a55f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/207] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From fe82593671ab2411e8402ff8c0110ec3829b81b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/207] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 8f90689e2b609fe745de0ad023c465c8c7173538 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/207] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5b8362d9839f35551b97797ae77b9e528b70f4c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/207] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 24a9e3e1e9092d7b277bf1f9c583013a0da6921f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/207] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 8b46e5a501c4c41829849d72729d71f22f58dd95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/207] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From c232ee7c46ce8d5c7c3b06f9833fcbf9f7da6f20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/207] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From bccea95dbe1f51f941f2bc13c1143a82572a6d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/207] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 6f55d71c5b2d9c9a37f5937ebb8ff96abf82d6bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/207] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 2da1fdb3294ad726c8cafd918dd3b4ef4cfc927d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/207] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 0721848ce9702c753460335d9abc453feea0f51f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/207] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 02b37281c3e826c62ff9fce95f908fdee86751bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/207] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 93880a4e7fe8004b680a1683b5bd60d4b8d748d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/207] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 0d8cab7027435d06fd86f944d7984e4321906429 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/207] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 8c307a6125246bf941eef2eff536a7ee4a96b2a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/207] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 830a290411af7b6d1483910176bd2e3cf9af0093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/207] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From af24020797067a7a9ecf03e92eb5a090dd97b6e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/207] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 0cd217932c5d42c9eb6f5fac7d75091efcb445ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/207] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From e5e5d5d1bc59570bf3f26cb8b9d1076f8550373a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/207] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 00af08c5711bab4f9f66c3a2307e2d080efde766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/207] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From a0f8c415d56598ffa06d23ad334581e579f6465e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/207] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 72df2f5d895e039871a35a4e1440645d45d268d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/207] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 09cd9651c725f2202b14ab72e6f126ce9266aa52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/207] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 87619803f42fc07d4f576ea2683bc473d7d9bfd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/207] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 6987f4855d36f6f1fa4409908217d337d659d788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/207] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9151c1728fc6c1db9c3d87aaeccf8a7279d21301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/207] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From ebc20f7327c5c2834bebda2243867bf2b136b49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/207] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 39d4f019f82f83877ddb0326895348183cab12d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/207] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 099215219f8e920d3a3d8a29ffe86e5a0da9ead9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/207] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From d0d51dc7182f2d71426a5db941f99025700ccfa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/207] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5bf3e73185f6cd20519ccd3bb1f78521e150bac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/207] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 3d881f580d70fecbc05f66a107412000fe549bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/207] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From c0a3d6d7c5e3c115ea01ed384c4bf14d968aa091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/207] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b93785477d9efdb734068728d470eaa6493c993f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/207] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From c21cb55d18543fc3546c8d495c54bba5cd80bc7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/207] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 1933415c50b26475dc1689eec804616c98465fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/207] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From eee2daaba204644f4f3fbd6f66be60165d68e2a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/207] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bfb6d369c4fd69029161ddc89521b23442b2419c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/207] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From d8b19188b788d0d62991bcf8415cc1ec4a715bd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/207] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 463a04161b43d10388f740d2516b4ef7b8f9a71b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/207] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 0138aa5cbacd3732befd8831904d2c125ffcb087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/207] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bae6cd04666543b55c4e20d90f204b9a1b9e2b3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/207] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6ef29da6fea8426aa60f31f75ac1e240d3454a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/207] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 533202d1bb1f823d1c8411bd7175cfef8c90de19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/207] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From ac628dbf8fb0801cbdc6319593d54c92f87161e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/207] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cf03d9464f082bb3b31d94faf717e4b40c89642d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/207] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From cdf7b368023d5edd9dbe29b1bb72df87da678d5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/207] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cdafbd7deda472b216cb85a36a056f7379085c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/207] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 78813b962af2038002aa765c2b8ae239d227feee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/207] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From d34e77238fb8814dfb3db09091ccfdda1b68669b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/207] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 10349f12c8b1825d3406599de2f31329485f05d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/207] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 67bc28b07f0e3b14ebea30b2b5950211151a15a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/207] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 1f7663b5c2d62c3ca92bacf3e343536d8a3ac18a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/207] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d6cb15cf3c13829d93108021228f2e129f39ab3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/207] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3888aa738519f1cc93b749b59be7f460cc7e06cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/207] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 7b964b6f714b04b861e6d2ea176f2d0e91c48f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/207] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 54cf65bf965464aaf416563c5286112ca3303d00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/207] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 96e6d4c52d7292736c9673da0a43ceefb108e323 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/207] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From b210fcf89408f036e2cc922c113a0aca965c987f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/207] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From f15cd2d9abfd8c5975b5211428002e4f58d24964 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/207] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From b5fcec73f5e012eda23a4bc77be7a95b5cded9a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/207] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From d7be928a4c9aee859e0e706b0392d48388580dce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/207] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 24079be9c1960b6ba7b1cbfb80c33bbf4961865f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/207] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 3d71432b9833bf884a1efd99dae5c2969fed6f85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/207] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8326e69dbe314f58585671c2b6ec6604e8c23a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/207] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 52766b046f3b1f7a98dfb563bf520d927f291b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/207] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From b469c260072599e110fe76479f062b7da2b4bfc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/207] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From dbefe8ab005dee8d6c96c32a9a58b7c335cfd683 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/207] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 593e4d96a86abbd9d4937c1cf87e7e61ccbf1703 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/207] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 796808eda84f6b27d15f4f0d742a44f3c9bee39b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/207] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 0e61e6db38fbb33c838276a11ebef527b01721b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/207] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From e517979fa3bef7e5fbb9eb2661e56ab46c2b892e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/207] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 3a7b86b88602155d723ef37b826d9c9d57ff7c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/207] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9a5f6263fdf30754e2e3ed097ad2539ca17d22cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/207] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 71f834673d69af4014aea6ad2d88d69b0795f264 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/207] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c2bc9d6af5495f7035961666d2b613004106613c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/207] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 77493eca134e915336162c4f500242bcb1cd9f3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/207] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 90a97c4bc20a08a6072d601f213fa14fa3d2dc1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/207] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 4a646e0587001f4c2758fc609cd6c1926e2e122b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/207] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 49d542557ab9e0af4bc0cbebca5f48bc1f8fa5e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/207] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 3f2ade3d5ab22edd2684f95823092f0f5b712c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/207] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 8f99e23ce98504d0bf082cc0252739afcdbbb4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/207] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a0961cab329637fcfe57e65feefe84c2657d0b5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/207] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From e14f23efb8cc7d3623cdaeb2f8e2b585d1a98002 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/207] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f395001f0187505329619b085d50d80a3a051900 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/207] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From a4fa7722ec7b74e1cbaa63915ea2a88de3fb362a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/207] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3870dd4e93135bb53bb2a9f0fc55d6ca7516c981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/207] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 2756ec6adbbafb87adba1df565ff3172b7eedf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/207] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From d7be9a461c3dde63dff817d208f9007979c474e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/207] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 827e930a9de2db56cd0f9d166e51e3fac582feab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/207] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 3fba93ac3982ffa854f4f88daf0f04f5770051f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/207] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 8c84c072da2ddda3529f5e415aee989c4323df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/207] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3186fb8b1b25ac4a06798a9c16d4242ce72078ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/207] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 2f97673d94216e28e2518d60331cc98429c3ecee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/207] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 185d2c10f5e9ddc969f4f01600a155e7937468eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/207] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 69b4bc5de3bd45f1c794afd4389345c2af175361 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/207] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 49c23865508fc67ca5afb5535370633a89ebbae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/207] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 59a2fb9dbbb91cc281f19af3959a4254c9af23e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/207] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 71230e904cfab2b7348bc436b3c67a26f14b0808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/207] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9ccc5941ff4cd6b09749596dd75ea1e13536d5f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/207] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0fc514d7c0ab7d660b15fdd3e250cef2c43a6860 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/207] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a409351bdfd160045333cd120ec8bc9f11274df0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/207] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 0898fb541611f9047f552d4f9b65de44616a4deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/207] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 534abe8548ede9eaa4f77b537f7db7053aea1f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/207] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From ef829ed4d24c9eaddc97766f8f5c28631a0dc548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/207] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 3859a2edee5580b26ced04094e7aeb4cf77e9451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/207] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From da631a2ad1cdf3c132a681208be189b2c9c018fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/207] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 350842e73e6f4d1356f15a5237adc9bb17409810 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/207] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7855ddf0a5c5edf1a113240d9a933fd2bcf248f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/207] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 49cb4bc4a6c4dc5aa9371cb18f702a7744dfe52e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/207] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 64d526bb240c98d6e907ebd1da53c18e7d0f0755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/207] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 7771e501ef325af93c4470f643d03dd40c95e4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/207] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From e9214c2f7c514e5d12127422a56d2f50a4ad3e61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/207] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 4dba16989d36b37975338dee5ade9761c6b94287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/207] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From e701d51785b65f4928acf70912fde9548d03b90d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/207] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From b2aa9bc237779dd5a3bc88cb9c15baf24de660c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/207] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From fa1b1e1a6eb6ebbd882caf0283f239735f991b92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/207] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 5136e6c01677ce41875315cd9d65713aae9ff9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/207] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From e0647830df073711b478b47f6619aa3dd5b0f566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/207] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 672e6225a526ecfb54ca8721cfdac9f47a875b9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/207] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 36567647a828319b6aeeb1619e69e3d13e3647a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/207] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 47953cdee9abc5f56cb3621ad3d259872b22c446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/207] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 67bd857564f9077164e17ec23850a01221bf6f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/207] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c366ffecca75532922647662f2bbce173dde9c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/207] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a014cd020d0ffef403ef36a775887a53fae8962c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/207] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 910f27215e3771f553bcda51fd3ac7535a706e7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/207] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From cb7364c9f6efafdf3d20d8c1e5bbe8dd97f56aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/207] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 4c73faa386ca6e99a68e92b352a7fc93c4675439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/207] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 4d9100757c46787de410220788fed365196ff4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/207] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 49f2a2839d511d851e07c2e30a1d3afe4aff01ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/207] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From a3d0350afaf7e308a420482b6696e2f8a105afe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/207] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c44cadbebc653b98494f989eb09b94832062a731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/207] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 181aadf8f202e0692aa0b75d46c148c4c64c7e8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/207] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1e924d1842416704c3edb1af10d9973e87e4b2ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/207] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From c3975868453927e2cc6ccbf6d118ecc19d359547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/207] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 81ac1111342e83244bf2c9920ae463b4b1283630 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/207] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 12259ea94deaf8528afac81a31aedac765fc18cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/207] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 51e8db846b268eb99e7d93a293cbd052e90d523f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/207] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From e6a572a1d6b960e1225648f24e6b030ad4872255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/207] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 047e3c6680aebaba0a4e1ba6d950b6eaa5f69db4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/207] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fe37ce9f036061a5cad32728f7df2cd0448668e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/207] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 4d4ea9311c9985fcc5c79645e306056dda69276c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/207] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 4265ee2e1d49c0b81cb1d3f904c53f387dd539d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/207] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 69f489cc35d2ef3e03ddb5f6def1b90f4cadf273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/207] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6a335b1d6ea9279b2b420e031b30fe4928b53590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/207] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 5c6b3348a36156d4c08d2f87c1b1811cc6e65c43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/207] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From a6511bad314a8c38c26a8a2cb8b86196058f22dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/207] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 520321ed55d76dadbfc200202901f07a20e9130c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/207] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From b2e50519e3b125972d6b2beacc3f67d06051972c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/207] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 8c32e675ff853eb4304c9f1a3c30832b88ea7694 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/207] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From ab0e0a00953e7a57e8a9131749cbda1f01b6fa0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/207] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c3662036e0ad3516d47e71b1fd15cc8820705ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/207] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From cd2635a4ec11ba572561273f0e1545e60bf81a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/207] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From d6956f4a8f398e7e42381868eb402aef9fcf716d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/207] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 1960b943e24a015c39d3cd247aa7a88ffc47bd7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/207] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From becf6f8645e9616f8f077f0f26f0ee880a250261 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/207] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 903accbab7d019f6ebd91789aa8d3ce5c566eaec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/207] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 14a402fa1862a2af3ccbf323ddd87665c1b52590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/207] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 64aa9394c86cd18e75ab92648f893ca6dfdf3ed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/207] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fb407d1d000dc400301fca630b19fda931716250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/207] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0b9930e63d30d46f16c0f916e3e2c06d2cfcc194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/207] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 1f9ed90f1a8b1f36f4faa7c271b0b9d9982f4b87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/207] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 46df7cb478bb131a0b882deff05b3c931ef9f1ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/207] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 5faec198e4342eb3451ca4e36da69015b9908b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/207] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From c2d615db2f6d62a0f40ba52ad1ee7c071d9bacf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/207] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From e2c637f5cb58fcb0d32ec64722612aeb4fde814a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/207] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From a1d406c05d86a4142f791f41c3a07d8c270ae3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/207] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 46ef03072edbfcaa42fe06b600a9f2615ca9e050 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/207] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 56cfa06a2d6e9338cff7a0a14318ac68dd8c3352 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/207] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 09fbf5cd848804bdaf2642564416a8f8245191df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 204/207] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 6ed88990495513c75f911c253a0003295f27b10f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 205/207] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 6862909d9aebba1cf0f6dc100c489acef237f4c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 206/207] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From eaa4c5f3d7d00cf9c8872fc6db07805d3527c179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 207/207] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (10 preceding siblings ...)
  2020-08-18 14:02 ` pullmoll
@ 2020-08-18 14:37 ` pullmoll
  2020-08-18 14:39 ` pullmoll
                   ` (41 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 14:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 167637 bytes --]

From f877f06759dffe6159307b059c2b428adfa0e353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/208] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From e78095c2db5163872f42fb2cb1759e93863532cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/208] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From dd1ec68546470eaf698f9c8ed13b695a23018b9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/208] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 06b1d234a722d6ad31725598c084c3ac75001eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/208] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 6d960121cf028305371797824b72b0ba8ddbdbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/208] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From f88aac87aa893ed45ccc0391876a43777b6873bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/208] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7479071e2b2738ccb684ca96ba9bc98cfc8bde8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/208] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7205ae8a179cda40fba07dfa5fcd4ce523190cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/208] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From ede7801dca1dc1e986cc87c325501b9f3d2bc561 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/208] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From b05fb15963cafc04d232bce17acbda3b2df7d0b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/208] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 793423766f6a4aa3882a3adf5e838034f1a01210 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/208] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From d36e98bbd2d8016a182b98dd5d90a82f65d161f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/208] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 38c9232f8d0f5eeb62080a7aaf618b0ded9c4046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/208] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0fb2ff3324dafa26fae1fe96a1c0e3455c65203b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/208] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f3eae4a94826b37f4d6ccefeca3d02b2597f5bdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/208] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3fa92f47e1396980bc208875d9f0ee118a90547f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/208] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 93c5c7f8cae6b346bb4e7697bb902216bfe4e19a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/208] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 15b169afdf4dc98135094ef188cef419caf6d4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/208] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 56bb572a7025634e77b6a9a46b440fbb5b683670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/208] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 55a863b0bacd339c1b553f1decc6f5795f3041f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/208] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 1b940ac0075106d92d6444812a29e47e53c8a6e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/208] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From f6ff4615e05314aae1fbd14e413c91b2a60f5ebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/208] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From a3076df0ad8b63c248a296d5c6e212376f8eb58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/208] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 9610d25c46d317c894004980ca15f259de6ddd4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/208] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9a7bfef3f2c07cd17a1c015efadcc7823d7a11ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/208] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 8bfcf70da68ec1211d98f37650f12da743b571f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/208] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 3295a10802f793981cc4701f6aef656232692525 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/208] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c371639002b887b7d1c3513a08d4e217789fb23c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/208] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 160e120ad6dac230ccc1e7e999c022d459fdf547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/208] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 219cc3385ebd866d9952b8b9f3f4ff3465e6fec3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/208] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f9a72f7f3ecfbc56b9322c3b23865c1d2d12a35b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/208] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From d40db0774195c3ae635e0c0fbec8f8cb2a1567b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/208] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b26136fd408b6b1346e3a6ecb51a3399b36cd09b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/208] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 3ea86a068a5f3a55ff36b3fd6d62f39428df5a58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/208] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 631a7057612a3936d67e309572e448743d8a55f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/208] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From fe82593671ab2411e8402ff8c0110ec3829b81b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/208] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 8f90689e2b609fe745de0ad023c465c8c7173538 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/208] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5b8362d9839f35551b97797ae77b9e528b70f4c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/208] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 24a9e3e1e9092d7b277bf1f9c583013a0da6921f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/208] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 8b46e5a501c4c41829849d72729d71f22f58dd95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/208] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From c232ee7c46ce8d5c7c3b06f9833fcbf9f7da6f20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/208] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From bccea95dbe1f51f941f2bc13c1143a82572a6d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/208] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 6f55d71c5b2d9c9a37f5937ebb8ff96abf82d6bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/208] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 2da1fdb3294ad726c8cafd918dd3b4ef4cfc927d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/208] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 0721848ce9702c753460335d9abc453feea0f51f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/208] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 02b37281c3e826c62ff9fce95f908fdee86751bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/208] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 93880a4e7fe8004b680a1683b5bd60d4b8d748d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/208] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 0d8cab7027435d06fd86f944d7984e4321906429 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/208] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 8c307a6125246bf941eef2eff536a7ee4a96b2a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/208] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 830a290411af7b6d1483910176bd2e3cf9af0093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/208] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From af24020797067a7a9ecf03e92eb5a090dd97b6e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/208] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 0cd217932c5d42c9eb6f5fac7d75091efcb445ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/208] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From e5e5d5d1bc59570bf3f26cb8b9d1076f8550373a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/208] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 00af08c5711bab4f9f66c3a2307e2d080efde766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/208] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From a0f8c415d56598ffa06d23ad334581e579f6465e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/208] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 72df2f5d895e039871a35a4e1440645d45d268d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/208] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 09cd9651c725f2202b14ab72e6f126ce9266aa52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/208] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 87619803f42fc07d4f576ea2683bc473d7d9bfd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/208] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 6987f4855d36f6f1fa4409908217d337d659d788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/208] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9151c1728fc6c1db9c3d87aaeccf8a7279d21301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/208] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From ebc20f7327c5c2834bebda2243867bf2b136b49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/208] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 39d4f019f82f83877ddb0326895348183cab12d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/208] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 099215219f8e920d3a3d8a29ffe86e5a0da9ead9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/208] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From d0d51dc7182f2d71426a5db941f99025700ccfa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/208] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5bf3e73185f6cd20519ccd3bb1f78521e150bac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/208] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 3d881f580d70fecbc05f66a107412000fe549bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/208] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From c0a3d6d7c5e3c115ea01ed384c4bf14d968aa091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/208] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b93785477d9efdb734068728d470eaa6493c993f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/208] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From c21cb55d18543fc3546c8d495c54bba5cd80bc7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/208] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 1933415c50b26475dc1689eec804616c98465fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/208] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From eee2daaba204644f4f3fbd6f66be60165d68e2a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/208] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bfb6d369c4fd69029161ddc89521b23442b2419c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/208] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From d8b19188b788d0d62991bcf8415cc1ec4a715bd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/208] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 463a04161b43d10388f740d2516b4ef7b8f9a71b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/208] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 0138aa5cbacd3732befd8831904d2c125ffcb087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/208] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bae6cd04666543b55c4e20d90f204b9a1b9e2b3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/208] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6ef29da6fea8426aa60f31f75ac1e240d3454a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/208] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 533202d1bb1f823d1c8411bd7175cfef8c90de19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/208] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From ac628dbf8fb0801cbdc6319593d54c92f87161e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/208] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cf03d9464f082bb3b31d94faf717e4b40c89642d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/208] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From cdf7b368023d5edd9dbe29b1bb72df87da678d5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/208] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cdafbd7deda472b216cb85a36a056f7379085c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/208] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 78813b962af2038002aa765c2b8ae239d227feee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/208] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From d34e77238fb8814dfb3db09091ccfdda1b68669b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/208] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 10349f12c8b1825d3406599de2f31329485f05d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/208] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 67bc28b07f0e3b14ebea30b2b5950211151a15a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/208] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 1f7663b5c2d62c3ca92bacf3e343536d8a3ac18a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/208] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d6cb15cf3c13829d93108021228f2e129f39ab3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/208] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3888aa738519f1cc93b749b59be7f460cc7e06cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/208] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 7b964b6f714b04b861e6d2ea176f2d0e91c48f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/208] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 54cf65bf965464aaf416563c5286112ca3303d00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/208] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 96e6d4c52d7292736c9673da0a43ceefb108e323 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/208] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From b210fcf89408f036e2cc922c113a0aca965c987f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/208] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From f15cd2d9abfd8c5975b5211428002e4f58d24964 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/208] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From b5fcec73f5e012eda23a4bc77be7a95b5cded9a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/208] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From d7be928a4c9aee859e0e706b0392d48388580dce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/208] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 24079be9c1960b6ba7b1cbfb80c33bbf4961865f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/208] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 3d71432b9833bf884a1efd99dae5c2969fed6f85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/208] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8326e69dbe314f58585671c2b6ec6604e8c23a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/208] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 52766b046f3b1f7a98dfb563bf520d927f291b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/208] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From b469c260072599e110fe76479f062b7da2b4bfc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/208] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From dbefe8ab005dee8d6c96c32a9a58b7c335cfd683 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/208] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 593e4d96a86abbd9d4937c1cf87e7e61ccbf1703 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/208] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 796808eda84f6b27d15f4f0d742a44f3c9bee39b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/208] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 0e61e6db38fbb33c838276a11ebef527b01721b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/208] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From e517979fa3bef7e5fbb9eb2661e56ab46c2b892e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/208] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 3a7b86b88602155d723ef37b826d9c9d57ff7c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/208] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9a5f6263fdf30754e2e3ed097ad2539ca17d22cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/208] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 71f834673d69af4014aea6ad2d88d69b0795f264 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/208] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c2bc9d6af5495f7035961666d2b613004106613c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/208] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 77493eca134e915336162c4f500242bcb1cd9f3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/208] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 90a97c4bc20a08a6072d601f213fa14fa3d2dc1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/208] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 4a646e0587001f4c2758fc609cd6c1926e2e122b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/208] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 49d542557ab9e0af4bc0cbebca5f48bc1f8fa5e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/208] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 3f2ade3d5ab22edd2684f95823092f0f5b712c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/208] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 8f99e23ce98504d0bf082cc0252739afcdbbb4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/208] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a0961cab329637fcfe57e65feefe84c2657d0b5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/208] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From e14f23efb8cc7d3623cdaeb2f8e2b585d1a98002 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/208] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f395001f0187505329619b085d50d80a3a051900 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/208] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From a4fa7722ec7b74e1cbaa63915ea2a88de3fb362a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/208] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3870dd4e93135bb53bb2a9f0fc55d6ca7516c981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/208] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 2756ec6adbbafb87adba1df565ff3172b7eedf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/208] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From d7be9a461c3dde63dff817d208f9007979c474e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/208] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 827e930a9de2db56cd0f9d166e51e3fac582feab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/208] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 3fba93ac3982ffa854f4f88daf0f04f5770051f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/208] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 8c84c072da2ddda3529f5e415aee989c4323df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/208] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3186fb8b1b25ac4a06798a9c16d4242ce72078ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/208] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 2f97673d94216e28e2518d60331cc98429c3ecee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/208] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 185d2c10f5e9ddc969f4f01600a155e7937468eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/208] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 69b4bc5de3bd45f1c794afd4389345c2af175361 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/208] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 49c23865508fc67ca5afb5535370633a89ebbae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/208] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 59a2fb9dbbb91cc281f19af3959a4254c9af23e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/208] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 71230e904cfab2b7348bc436b3c67a26f14b0808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/208] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9ccc5941ff4cd6b09749596dd75ea1e13536d5f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/208] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0fc514d7c0ab7d660b15fdd3e250cef2c43a6860 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/208] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a409351bdfd160045333cd120ec8bc9f11274df0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/208] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 0898fb541611f9047f552d4f9b65de44616a4deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/208] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 534abe8548ede9eaa4f77b537f7db7053aea1f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/208] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From ef829ed4d24c9eaddc97766f8f5c28631a0dc548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/208] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 3859a2edee5580b26ced04094e7aeb4cf77e9451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/208] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From da631a2ad1cdf3c132a681208be189b2c9c018fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/208] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 350842e73e6f4d1356f15a5237adc9bb17409810 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/208] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7855ddf0a5c5edf1a113240d9a933fd2bcf248f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/208] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 49cb4bc4a6c4dc5aa9371cb18f702a7744dfe52e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/208] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 64d526bb240c98d6e907ebd1da53c18e7d0f0755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/208] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 7771e501ef325af93c4470f643d03dd40c95e4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/208] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From e9214c2f7c514e5d12127422a56d2f50a4ad3e61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/208] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 4dba16989d36b37975338dee5ade9761c6b94287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/208] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From e701d51785b65f4928acf70912fde9548d03b90d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/208] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From b2aa9bc237779dd5a3bc88cb9c15baf24de660c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/208] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From fa1b1e1a6eb6ebbd882caf0283f239735f991b92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/208] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 5136e6c01677ce41875315cd9d65713aae9ff9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/208] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From e0647830df073711b478b47f6619aa3dd5b0f566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/208] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 672e6225a526ecfb54ca8721cfdac9f47a875b9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/208] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 36567647a828319b6aeeb1619e69e3d13e3647a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/208] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 47953cdee9abc5f56cb3621ad3d259872b22c446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/208] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 67bd857564f9077164e17ec23850a01221bf6f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/208] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c366ffecca75532922647662f2bbce173dde9c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/208] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a014cd020d0ffef403ef36a775887a53fae8962c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/208] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 910f27215e3771f553bcda51fd3ac7535a706e7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/208] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From cb7364c9f6efafdf3d20d8c1e5bbe8dd97f56aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/208] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 4c73faa386ca6e99a68e92b352a7fc93c4675439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/208] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 4d9100757c46787de410220788fed365196ff4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/208] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 49f2a2839d511d851e07c2e30a1d3afe4aff01ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/208] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From a3d0350afaf7e308a420482b6696e2f8a105afe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/208] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c44cadbebc653b98494f989eb09b94832062a731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/208] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 181aadf8f202e0692aa0b75d46c148c4c64c7e8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/208] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1e924d1842416704c3edb1af10d9973e87e4b2ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/208] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From c3975868453927e2cc6ccbf6d118ecc19d359547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/208] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 81ac1111342e83244bf2c9920ae463b4b1283630 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/208] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 12259ea94deaf8528afac81a31aedac765fc18cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/208] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 51e8db846b268eb99e7d93a293cbd052e90d523f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/208] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From e6a572a1d6b960e1225648f24e6b030ad4872255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/208] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 047e3c6680aebaba0a4e1ba6d950b6eaa5f69db4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/208] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fe37ce9f036061a5cad32728f7df2cd0448668e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/208] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 4d4ea9311c9985fcc5c79645e306056dda69276c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/208] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 4265ee2e1d49c0b81cb1d3f904c53f387dd539d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/208] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 69f489cc35d2ef3e03ddb5f6def1b90f4cadf273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/208] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6a335b1d6ea9279b2b420e031b30fe4928b53590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/208] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 5c6b3348a36156d4c08d2f87c1b1811cc6e65c43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/208] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From a6511bad314a8c38c26a8a2cb8b86196058f22dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/208] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 520321ed55d76dadbfc200202901f07a20e9130c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/208] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From b2e50519e3b125972d6b2beacc3f67d06051972c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/208] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 8c32e675ff853eb4304c9f1a3c30832b88ea7694 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/208] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From ab0e0a00953e7a57e8a9131749cbda1f01b6fa0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/208] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c3662036e0ad3516d47e71b1fd15cc8820705ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/208] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From cd2635a4ec11ba572561273f0e1545e60bf81a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/208] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From d6956f4a8f398e7e42381868eb402aef9fcf716d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/208] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 1960b943e24a015c39d3cd247aa7a88ffc47bd7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/208] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From becf6f8645e9616f8f077f0f26f0ee880a250261 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/208] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 903accbab7d019f6ebd91789aa8d3ce5c566eaec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/208] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 14a402fa1862a2af3ccbf323ddd87665c1b52590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/208] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 64aa9394c86cd18e75ab92648f893ca6dfdf3ed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/208] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fb407d1d000dc400301fca630b19fda931716250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/208] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0b9930e63d30d46f16c0f916e3e2c06d2cfcc194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/208] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 1f9ed90f1a8b1f36f4faa7c271b0b9d9982f4b87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/208] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 46df7cb478bb131a0b882deff05b3c931ef9f1ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/208] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 5faec198e4342eb3451ca4e36da69015b9908b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/208] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From c2d615db2f6d62a0f40ba52ad1ee7c071d9bacf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/208] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From e2c637f5cb58fcb0d32ec64722612aeb4fde814a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/208] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From a1d406c05d86a4142f791f41c3a07d8c270ae3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/208] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 46ef03072edbfcaa42fe06b600a9f2615ca9e050 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/208] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 56cfa06a2d6e9338cff7a0a14318ac68dd8c3352 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/208] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 09fbf5cd848804bdaf2642564416a8f8245191df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 204/208] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 6ed88990495513c75f911c253a0003295f27b10f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 205/208] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 6862909d9aebba1cf0f6dc100c489acef237f4c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 206/208] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From eaa4c5f3d7d00cf9c8872fc6db07805d3527c179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 207/208] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 23c5824aaba3453534f58b302b3a77a3f5f20bbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 208/208] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (11 preceding siblings ...)
  2020-08-18 14:37 ` pullmoll
@ 2020-08-18 14:39 ` pullmoll
  2020-08-18 14:44 ` pullmoll
                   ` (40 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 14:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 168315 bytes --]

From f877f06759dffe6159307b059c2b428adfa0e353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/209] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From e78095c2db5163872f42fb2cb1759e93863532cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/209] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From dd1ec68546470eaf698f9c8ed13b695a23018b9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/209] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 06b1d234a722d6ad31725598c084c3ac75001eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/209] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 6d960121cf028305371797824b72b0ba8ddbdbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/209] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From f88aac87aa893ed45ccc0391876a43777b6873bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/209] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7479071e2b2738ccb684ca96ba9bc98cfc8bde8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/209] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7205ae8a179cda40fba07dfa5fcd4ce523190cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/209] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From ede7801dca1dc1e986cc87c325501b9f3d2bc561 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/209] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From b05fb15963cafc04d232bce17acbda3b2df7d0b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/209] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 793423766f6a4aa3882a3adf5e838034f1a01210 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/209] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From d36e98bbd2d8016a182b98dd5d90a82f65d161f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/209] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 38c9232f8d0f5eeb62080a7aaf618b0ded9c4046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/209] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0fb2ff3324dafa26fae1fe96a1c0e3455c65203b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/209] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f3eae4a94826b37f4d6ccefeca3d02b2597f5bdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/209] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3fa92f47e1396980bc208875d9f0ee118a90547f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/209] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 93c5c7f8cae6b346bb4e7697bb902216bfe4e19a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/209] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 15b169afdf4dc98135094ef188cef419caf6d4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/209] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 56bb572a7025634e77b6a9a46b440fbb5b683670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/209] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 55a863b0bacd339c1b553f1decc6f5795f3041f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/209] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 1b940ac0075106d92d6444812a29e47e53c8a6e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/209] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From f6ff4615e05314aae1fbd14e413c91b2a60f5ebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/209] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From a3076df0ad8b63c248a296d5c6e212376f8eb58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/209] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 9610d25c46d317c894004980ca15f259de6ddd4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/209] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9a7bfef3f2c07cd17a1c015efadcc7823d7a11ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/209] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 8bfcf70da68ec1211d98f37650f12da743b571f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/209] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 3295a10802f793981cc4701f6aef656232692525 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/209] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c371639002b887b7d1c3513a08d4e217789fb23c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/209] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 160e120ad6dac230ccc1e7e999c022d459fdf547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/209] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 219cc3385ebd866d9952b8b9f3f4ff3465e6fec3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/209] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f9a72f7f3ecfbc56b9322c3b23865c1d2d12a35b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/209] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From d40db0774195c3ae635e0c0fbec8f8cb2a1567b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/209] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b26136fd408b6b1346e3a6ecb51a3399b36cd09b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/209] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 3ea86a068a5f3a55ff36b3fd6d62f39428df5a58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/209] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 631a7057612a3936d67e309572e448743d8a55f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/209] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From fe82593671ab2411e8402ff8c0110ec3829b81b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/209] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 8f90689e2b609fe745de0ad023c465c8c7173538 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/209] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5b8362d9839f35551b97797ae77b9e528b70f4c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/209] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 24a9e3e1e9092d7b277bf1f9c583013a0da6921f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/209] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 8b46e5a501c4c41829849d72729d71f22f58dd95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/209] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From c232ee7c46ce8d5c7c3b06f9833fcbf9f7da6f20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/209] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From bccea95dbe1f51f941f2bc13c1143a82572a6d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/209] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 6f55d71c5b2d9c9a37f5937ebb8ff96abf82d6bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/209] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 2da1fdb3294ad726c8cafd918dd3b4ef4cfc927d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/209] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 0721848ce9702c753460335d9abc453feea0f51f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/209] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 02b37281c3e826c62ff9fce95f908fdee86751bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/209] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 93880a4e7fe8004b680a1683b5bd60d4b8d748d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/209] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 0d8cab7027435d06fd86f944d7984e4321906429 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/209] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 8c307a6125246bf941eef2eff536a7ee4a96b2a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/209] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 830a290411af7b6d1483910176bd2e3cf9af0093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/209] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From af24020797067a7a9ecf03e92eb5a090dd97b6e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/209] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 0cd217932c5d42c9eb6f5fac7d75091efcb445ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/209] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From e5e5d5d1bc59570bf3f26cb8b9d1076f8550373a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/209] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 00af08c5711bab4f9f66c3a2307e2d080efde766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/209] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From a0f8c415d56598ffa06d23ad334581e579f6465e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/209] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 72df2f5d895e039871a35a4e1440645d45d268d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/209] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 09cd9651c725f2202b14ab72e6f126ce9266aa52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/209] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 87619803f42fc07d4f576ea2683bc473d7d9bfd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/209] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 6987f4855d36f6f1fa4409908217d337d659d788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/209] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9151c1728fc6c1db9c3d87aaeccf8a7279d21301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/209] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From ebc20f7327c5c2834bebda2243867bf2b136b49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/209] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 39d4f019f82f83877ddb0326895348183cab12d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/209] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 099215219f8e920d3a3d8a29ffe86e5a0da9ead9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/209] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From d0d51dc7182f2d71426a5db941f99025700ccfa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/209] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5bf3e73185f6cd20519ccd3bb1f78521e150bac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/209] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 3d881f580d70fecbc05f66a107412000fe549bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/209] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From c0a3d6d7c5e3c115ea01ed384c4bf14d968aa091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/209] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b93785477d9efdb734068728d470eaa6493c993f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/209] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From c21cb55d18543fc3546c8d495c54bba5cd80bc7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/209] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 1933415c50b26475dc1689eec804616c98465fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/209] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From eee2daaba204644f4f3fbd6f66be60165d68e2a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/209] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bfb6d369c4fd69029161ddc89521b23442b2419c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/209] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From d8b19188b788d0d62991bcf8415cc1ec4a715bd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/209] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 463a04161b43d10388f740d2516b4ef7b8f9a71b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/209] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 0138aa5cbacd3732befd8831904d2c125ffcb087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/209] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bae6cd04666543b55c4e20d90f204b9a1b9e2b3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/209] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6ef29da6fea8426aa60f31f75ac1e240d3454a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/209] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 533202d1bb1f823d1c8411bd7175cfef8c90de19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/209] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From ac628dbf8fb0801cbdc6319593d54c92f87161e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/209] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cf03d9464f082bb3b31d94faf717e4b40c89642d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/209] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From cdf7b368023d5edd9dbe29b1bb72df87da678d5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/209] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cdafbd7deda472b216cb85a36a056f7379085c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/209] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 78813b962af2038002aa765c2b8ae239d227feee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/209] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From d34e77238fb8814dfb3db09091ccfdda1b68669b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/209] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 10349f12c8b1825d3406599de2f31329485f05d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/209] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 67bc28b07f0e3b14ebea30b2b5950211151a15a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/209] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 1f7663b5c2d62c3ca92bacf3e343536d8a3ac18a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/209] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d6cb15cf3c13829d93108021228f2e129f39ab3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/209] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3888aa738519f1cc93b749b59be7f460cc7e06cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/209] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 7b964b6f714b04b861e6d2ea176f2d0e91c48f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/209] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 54cf65bf965464aaf416563c5286112ca3303d00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/209] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 96e6d4c52d7292736c9673da0a43ceefb108e323 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/209] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From b210fcf89408f036e2cc922c113a0aca965c987f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/209] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From f15cd2d9abfd8c5975b5211428002e4f58d24964 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/209] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From b5fcec73f5e012eda23a4bc77be7a95b5cded9a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/209] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From d7be928a4c9aee859e0e706b0392d48388580dce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/209] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 24079be9c1960b6ba7b1cbfb80c33bbf4961865f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/209] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 3d71432b9833bf884a1efd99dae5c2969fed6f85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/209] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8326e69dbe314f58585671c2b6ec6604e8c23a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/209] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 52766b046f3b1f7a98dfb563bf520d927f291b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/209] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From b469c260072599e110fe76479f062b7da2b4bfc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/209] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From dbefe8ab005dee8d6c96c32a9a58b7c335cfd683 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/209] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 593e4d96a86abbd9d4937c1cf87e7e61ccbf1703 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/209] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 796808eda84f6b27d15f4f0d742a44f3c9bee39b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/209] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 0e61e6db38fbb33c838276a11ebef527b01721b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/209] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From e517979fa3bef7e5fbb9eb2661e56ab46c2b892e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/209] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 3a7b86b88602155d723ef37b826d9c9d57ff7c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/209] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9a5f6263fdf30754e2e3ed097ad2539ca17d22cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/209] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 71f834673d69af4014aea6ad2d88d69b0795f264 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/209] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c2bc9d6af5495f7035961666d2b613004106613c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/209] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 77493eca134e915336162c4f500242bcb1cd9f3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/209] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 90a97c4bc20a08a6072d601f213fa14fa3d2dc1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/209] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 4a646e0587001f4c2758fc609cd6c1926e2e122b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/209] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 49d542557ab9e0af4bc0cbebca5f48bc1f8fa5e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/209] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 3f2ade3d5ab22edd2684f95823092f0f5b712c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/209] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 8f99e23ce98504d0bf082cc0252739afcdbbb4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/209] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a0961cab329637fcfe57e65feefe84c2657d0b5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/209] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From e14f23efb8cc7d3623cdaeb2f8e2b585d1a98002 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/209] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f395001f0187505329619b085d50d80a3a051900 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/209] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From a4fa7722ec7b74e1cbaa63915ea2a88de3fb362a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/209] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3870dd4e93135bb53bb2a9f0fc55d6ca7516c981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/209] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 2756ec6adbbafb87adba1df565ff3172b7eedf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/209] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From d7be9a461c3dde63dff817d208f9007979c474e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/209] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 827e930a9de2db56cd0f9d166e51e3fac582feab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/209] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 3fba93ac3982ffa854f4f88daf0f04f5770051f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/209] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 8c84c072da2ddda3529f5e415aee989c4323df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/209] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3186fb8b1b25ac4a06798a9c16d4242ce72078ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/209] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 2f97673d94216e28e2518d60331cc98429c3ecee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/209] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 185d2c10f5e9ddc969f4f01600a155e7937468eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/209] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 69b4bc5de3bd45f1c794afd4389345c2af175361 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/209] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 49c23865508fc67ca5afb5535370633a89ebbae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/209] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 59a2fb9dbbb91cc281f19af3959a4254c9af23e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/209] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 71230e904cfab2b7348bc436b3c67a26f14b0808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/209] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9ccc5941ff4cd6b09749596dd75ea1e13536d5f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/209] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0fc514d7c0ab7d660b15fdd3e250cef2c43a6860 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/209] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a409351bdfd160045333cd120ec8bc9f11274df0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/209] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 0898fb541611f9047f552d4f9b65de44616a4deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/209] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 534abe8548ede9eaa4f77b537f7db7053aea1f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/209] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From ef829ed4d24c9eaddc97766f8f5c28631a0dc548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/209] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 3859a2edee5580b26ced04094e7aeb4cf77e9451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/209] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From da631a2ad1cdf3c132a681208be189b2c9c018fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/209] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 350842e73e6f4d1356f15a5237adc9bb17409810 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/209] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7855ddf0a5c5edf1a113240d9a933fd2bcf248f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/209] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 49cb4bc4a6c4dc5aa9371cb18f702a7744dfe52e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/209] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 64d526bb240c98d6e907ebd1da53c18e7d0f0755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/209] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 7771e501ef325af93c4470f643d03dd40c95e4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/209] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From e9214c2f7c514e5d12127422a56d2f50a4ad3e61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/209] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 4dba16989d36b37975338dee5ade9761c6b94287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/209] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From e701d51785b65f4928acf70912fde9548d03b90d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/209] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From b2aa9bc237779dd5a3bc88cb9c15baf24de660c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/209] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From fa1b1e1a6eb6ebbd882caf0283f239735f991b92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/209] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 5136e6c01677ce41875315cd9d65713aae9ff9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/209] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From e0647830df073711b478b47f6619aa3dd5b0f566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/209] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 672e6225a526ecfb54ca8721cfdac9f47a875b9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/209] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 36567647a828319b6aeeb1619e69e3d13e3647a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/209] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 47953cdee9abc5f56cb3621ad3d259872b22c446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/209] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 67bd857564f9077164e17ec23850a01221bf6f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/209] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c366ffecca75532922647662f2bbce173dde9c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/209] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a014cd020d0ffef403ef36a775887a53fae8962c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/209] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 910f27215e3771f553bcda51fd3ac7535a706e7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/209] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From cb7364c9f6efafdf3d20d8c1e5bbe8dd97f56aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/209] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 4c73faa386ca6e99a68e92b352a7fc93c4675439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/209] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 4d9100757c46787de410220788fed365196ff4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/209] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 49f2a2839d511d851e07c2e30a1d3afe4aff01ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/209] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From a3d0350afaf7e308a420482b6696e2f8a105afe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/209] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c44cadbebc653b98494f989eb09b94832062a731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/209] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 181aadf8f202e0692aa0b75d46c148c4c64c7e8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/209] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1e924d1842416704c3edb1af10d9973e87e4b2ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/209] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From c3975868453927e2cc6ccbf6d118ecc19d359547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/209] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 81ac1111342e83244bf2c9920ae463b4b1283630 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/209] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 12259ea94deaf8528afac81a31aedac765fc18cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/209] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 51e8db846b268eb99e7d93a293cbd052e90d523f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/209] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From e6a572a1d6b960e1225648f24e6b030ad4872255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/209] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 047e3c6680aebaba0a4e1ba6d950b6eaa5f69db4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/209] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fe37ce9f036061a5cad32728f7df2cd0448668e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/209] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 4d4ea9311c9985fcc5c79645e306056dda69276c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/209] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 4265ee2e1d49c0b81cb1d3f904c53f387dd539d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/209] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 69f489cc35d2ef3e03ddb5f6def1b90f4cadf273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/209] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6a335b1d6ea9279b2b420e031b30fe4928b53590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/209] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 5c6b3348a36156d4c08d2f87c1b1811cc6e65c43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/209] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From a6511bad314a8c38c26a8a2cb8b86196058f22dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/209] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 520321ed55d76dadbfc200202901f07a20e9130c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/209] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From b2e50519e3b125972d6b2beacc3f67d06051972c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/209] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 8c32e675ff853eb4304c9f1a3c30832b88ea7694 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/209] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From ab0e0a00953e7a57e8a9131749cbda1f01b6fa0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/209] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c3662036e0ad3516d47e71b1fd15cc8820705ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/209] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From cd2635a4ec11ba572561273f0e1545e60bf81a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/209] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From d6956f4a8f398e7e42381868eb402aef9fcf716d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/209] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 1960b943e24a015c39d3cd247aa7a88ffc47bd7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/209] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From becf6f8645e9616f8f077f0f26f0ee880a250261 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/209] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 903accbab7d019f6ebd91789aa8d3ce5c566eaec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/209] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 14a402fa1862a2af3ccbf323ddd87665c1b52590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/209] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 64aa9394c86cd18e75ab92648f893ca6dfdf3ed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/209] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fb407d1d000dc400301fca630b19fda931716250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/209] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0b9930e63d30d46f16c0f916e3e2c06d2cfcc194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/209] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 1f9ed90f1a8b1f36f4faa7c271b0b9d9982f4b87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/209] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 46df7cb478bb131a0b882deff05b3c931ef9f1ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/209] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 5faec198e4342eb3451ca4e36da69015b9908b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/209] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From c2d615db2f6d62a0f40ba52ad1ee7c071d9bacf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/209] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From e2c637f5cb58fcb0d32ec64722612aeb4fde814a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/209] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From a1d406c05d86a4142f791f41c3a07d8c270ae3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/209] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 46ef03072edbfcaa42fe06b600a9f2615ca9e050 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/209] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 56cfa06a2d6e9338cff7a0a14318ac68dd8c3352 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/209] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 09fbf5cd848804bdaf2642564416a8f8245191df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 204/209] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 6ed88990495513c75f911c253a0003295f27b10f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 205/209] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 6862909d9aebba1cf0f6dc100c489acef237f4c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 206/209] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From eaa4c5f3d7d00cf9c8872fc6db07805d3527c179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 207/209] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 23c5824aaba3453534f58b302b3a77a3f5f20bbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 208/209] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From a574cb9e6367485c0684e8441857120fab5dcddc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 209/209] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (12 preceding siblings ...)
  2020-08-18 14:39 ` pullmoll
@ 2020-08-18 14:44 ` pullmoll
  2020-08-18 15:22 ` pullmoll
                   ` (39 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 14:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 169527 bytes --]

From f877f06759dffe6159307b059c2b428adfa0e353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/210] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From e78095c2db5163872f42fb2cb1759e93863532cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/210] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From dd1ec68546470eaf698f9c8ed13b695a23018b9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/210] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 06b1d234a722d6ad31725598c084c3ac75001eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/210] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 6d960121cf028305371797824b72b0ba8ddbdbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/210] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From f88aac87aa893ed45ccc0391876a43777b6873bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/210] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7479071e2b2738ccb684ca96ba9bc98cfc8bde8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/210] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7205ae8a179cda40fba07dfa5fcd4ce523190cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/210] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From ede7801dca1dc1e986cc87c325501b9f3d2bc561 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/210] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From b05fb15963cafc04d232bce17acbda3b2df7d0b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/210] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 793423766f6a4aa3882a3adf5e838034f1a01210 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/210] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From d36e98bbd2d8016a182b98dd5d90a82f65d161f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/210] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 38c9232f8d0f5eeb62080a7aaf618b0ded9c4046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/210] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0fb2ff3324dafa26fae1fe96a1c0e3455c65203b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/210] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f3eae4a94826b37f4d6ccefeca3d02b2597f5bdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/210] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3fa92f47e1396980bc208875d9f0ee118a90547f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/210] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 93c5c7f8cae6b346bb4e7697bb902216bfe4e19a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/210] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 15b169afdf4dc98135094ef188cef419caf6d4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/210] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 56bb572a7025634e77b6a9a46b440fbb5b683670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/210] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 55a863b0bacd339c1b553f1decc6f5795f3041f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/210] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 1b940ac0075106d92d6444812a29e47e53c8a6e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/210] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From f6ff4615e05314aae1fbd14e413c91b2a60f5ebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/210] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From a3076df0ad8b63c248a296d5c6e212376f8eb58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/210] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 9610d25c46d317c894004980ca15f259de6ddd4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/210] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9a7bfef3f2c07cd17a1c015efadcc7823d7a11ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/210] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 8bfcf70da68ec1211d98f37650f12da743b571f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/210] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 3295a10802f793981cc4701f6aef656232692525 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/210] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c371639002b887b7d1c3513a08d4e217789fb23c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/210] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 160e120ad6dac230ccc1e7e999c022d459fdf547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/210] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 219cc3385ebd866d9952b8b9f3f4ff3465e6fec3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/210] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f9a72f7f3ecfbc56b9322c3b23865c1d2d12a35b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/210] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From d40db0774195c3ae635e0c0fbec8f8cb2a1567b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/210] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b26136fd408b6b1346e3a6ecb51a3399b36cd09b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/210] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 3ea86a068a5f3a55ff36b3fd6d62f39428df5a58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/210] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 631a7057612a3936d67e309572e448743d8a55f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/210] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From fe82593671ab2411e8402ff8c0110ec3829b81b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/210] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 8f90689e2b609fe745de0ad023c465c8c7173538 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/210] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5b8362d9839f35551b97797ae77b9e528b70f4c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/210] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 24a9e3e1e9092d7b277bf1f9c583013a0da6921f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/210] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 8b46e5a501c4c41829849d72729d71f22f58dd95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/210] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From c232ee7c46ce8d5c7c3b06f9833fcbf9f7da6f20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/210] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From bccea95dbe1f51f941f2bc13c1143a82572a6d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/210] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 6f55d71c5b2d9c9a37f5937ebb8ff96abf82d6bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/210] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 2da1fdb3294ad726c8cafd918dd3b4ef4cfc927d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/210] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 0721848ce9702c753460335d9abc453feea0f51f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/210] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 02b37281c3e826c62ff9fce95f908fdee86751bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/210] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 93880a4e7fe8004b680a1683b5bd60d4b8d748d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/210] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 0d8cab7027435d06fd86f944d7984e4321906429 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/210] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 8c307a6125246bf941eef2eff536a7ee4a96b2a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/210] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 830a290411af7b6d1483910176bd2e3cf9af0093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/210] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From af24020797067a7a9ecf03e92eb5a090dd97b6e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/210] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 0cd217932c5d42c9eb6f5fac7d75091efcb445ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/210] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From e5e5d5d1bc59570bf3f26cb8b9d1076f8550373a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/210] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 00af08c5711bab4f9f66c3a2307e2d080efde766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/210] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From a0f8c415d56598ffa06d23ad334581e579f6465e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/210] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 72df2f5d895e039871a35a4e1440645d45d268d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/210] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 09cd9651c725f2202b14ab72e6f126ce9266aa52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/210] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 87619803f42fc07d4f576ea2683bc473d7d9bfd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/210] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 6987f4855d36f6f1fa4409908217d337d659d788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/210] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9151c1728fc6c1db9c3d87aaeccf8a7279d21301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/210] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From ebc20f7327c5c2834bebda2243867bf2b136b49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/210] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 39d4f019f82f83877ddb0326895348183cab12d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/210] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 099215219f8e920d3a3d8a29ffe86e5a0da9ead9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/210] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From d0d51dc7182f2d71426a5db941f99025700ccfa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/210] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5bf3e73185f6cd20519ccd3bb1f78521e150bac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/210] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 3d881f580d70fecbc05f66a107412000fe549bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/210] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From c0a3d6d7c5e3c115ea01ed384c4bf14d968aa091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/210] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b93785477d9efdb734068728d470eaa6493c993f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/210] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From c21cb55d18543fc3546c8d495c54bba5cd80bc7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/210] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 1933415c50b26475dc1689eec804616c98465fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/210] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From eee2daaba204644f4f3fbd6f66be60165d68e2a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/210] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bfb6d369c4fd69029161ddc89521b23442b2419c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/210] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From d8b19188b788d0d62991bcf8415cc1ec4a715bd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/210] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 463a04161b43d10388f740d2516b4ef7b8f9a71b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/210] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 0138aa5cbacd3732befd8831904d2c125ffcb087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/210] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bae6cd04666543b55c4e20d90f204b9a1b9e2b3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/210] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6ef29da6fea8426aa60f31f75ac1e240d3454a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/210] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 533202d1bb1f823d1c8411bd7175cfef8c90de19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/210] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From ac628dbf8fb0801cbdc6319593d54c92f87161e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/210] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cf03d9464f082bb3b31d94faf717e4b40c89642d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/210] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From cdf7b368023d5edd9dbe29b1bb72df87da678d5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/210] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cdafbd7deda472b216cb85a36a056f7379085c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/210] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 78813b962af2038002aa765c2b8ae239d227feee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/210] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From d34e77238fb8814dfb3db09091ccfdda1b68669b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/210] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 10349f12c8b1825d3406599de2f31329485f05d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/210] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 67bc28b07f0e3b14ebea30b2b5950211151a15a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/210] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 1f7663b5c2d62c3ca92bacf3e343536d8a3ac18a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/210] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d6cb15cf3c13829d93108021228f2e129f39ab3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/210] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3888aa738519f1cc93b749b59be7f460cc7e06cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/210] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 7b964b6f714b04b861e6d2ea176f2d0e91c48f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/210] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 54cf65bf965464aaf416563c5286112ca3303d00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/210] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 96e6d4c52d7292736c9673da0a43ceefb108e323 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/210] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From b210fcf89408f036e2cc922c113a0aca965c987f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/210] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From f15cd2d9abfd8c5975b5211428002e4f58d24964 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/210] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From b5fcec73f5e012eda23a4bc77be7a95b5cded9a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/210] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From d7be928a4c9aee859e0e706b0392d48388580dce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/210] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 24079be9c1960b6ba7b1cbfb80c33bbf4961865f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/210] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 3d71432b9833bf884a1efd99dae5c2969fed6f85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/210] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8326e69dbe314f58585671c2b6ec6604e8c23a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/210] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 52766b046f3b1f7a98dfb563bf520d927f291b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/210] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From b469c260072599e110fe76479f062b7da2b4bfc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/210] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From dbefe8ab005dee8d6c96c32a9a58b7c335cfd683 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/210] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 593e4d96a86abbd9d4937c1cf87e7e61ccbf1703 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/210] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 796808eda84f6b27d15f4f0d742a44f3c9bee39b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/210] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 0e61e6db38fbb33c838276a11ebef527b01721b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/210] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From e517979fa3bef7e5fbb9eb2661e56ab46c2b892e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/210] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 3a7b86b88602155d723ef37b826d9c9d57ff7c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/210] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9a5f6263fdf30754e2e3ed097ad2539ca17d22cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/210] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 71f834673d69af4014aea6ad2d88d69b0795f264 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/210] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c2bc9d6af5495f7035961666d2b613004106613c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/210] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 77493eca134e915336162c4f500242bcb1cd9f3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/210] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 90a97c4bc20a08a6072d601f213fa14fa3d2dc1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/210] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 4a646e0587001f4c2758fc609cd6c1926e2e122b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/210] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 49d542557ab9e0af4bc0cbebca5f48bc1f8fa5e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/210] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 3f2ade3d5ab22edd2684f95823092f0f5b712c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/210] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 8f99e23ce98504d0bf082cc0252739afcdbbb4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/210] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a0961cab329637fcfe57e65feefe84c2657d0b5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/210] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From e14f23efb8cc7d3623cdaeb2f8e2b585d1a98002 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/210] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f395001f0187505329619b085d50d80a3a051900 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/210] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From a4fa7722ec7b74e1cbaa63915ea2a88de3fb362a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/210] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3870dd4e93135bb53bb2a9f0fc55d6ca7516c981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/210] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 2756ec6adbbafb87adba1df565ff3172b7eedf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/210] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From d7be9a461c3dde63dff817d208f9007979c474e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/210] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 827e930a9de2db56cd0f9d166e51e3fac582feab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/210] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 3fba93ac3982ffa854f4f88daf0f04f5770051f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/210] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 8c84c072da2ddda3529f5e415aee989c4323df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/210] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3186fb8b1b25ac4a06798a9c16d4242ce72078ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/210] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 2f97673d94216e28e2518d60331cc98429c3ecee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/210] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 185d2c10f5e9ddc969f4f01600a155e7937468eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/210] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 69b4bc5de3bd45f1c794afd4389345c2af175361 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/210] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 49c23865508fc67ca5afb5535370633a89ebbae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/210] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 59a2fb9dbbb91cc281f19af3959a4254c9af23e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/210] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 71230e904cfab2b7348bc436b3c67a26f14b0808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/210] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9ccc5941ff4cd6b09749596dd75ea1e13536d5f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/210] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0fc514d7c0ab7d660b15fdd3e250cef2c43a6860 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/210] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a409351bdfd160045333cd120ec8bc9f11274df0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/210] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 0898fb541611f9047f552d4f9b65de44616a4deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/210] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 534abe8548ede9eaa4f77b537f7db7053aea1f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/210] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From ef829ed4d24c9eaddc97766f8f5c28631a0dc548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/210] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 3859a2edee5580b26ced04094e7aeb4cf77e9451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/210] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From da631a2ad1cdf3c132a681208be189b2c9c018fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/210] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 350842e73e6f4d1356f15a5237adc9bb17409810 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/210] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7855ddf0a5c5edf1a113240d9a933fd2bcf248f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/210] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 49cb4bc4a6c4dc5aa9371cb18f702a7744dfe52e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/210] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 64d526bb240c98d6e907ebd1da53c18e7d0f0755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/210] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 7771e501ef325af93c4470f643d03dd40c95e4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/210] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From e9214c2f7c514e5d12127422a56d2f50a4ad3e61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/210] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 4dba16989d36b37975338dee5ade9761c6b94287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/210] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From e701d51785b65f4928acf70912fde9548d03b90d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/210] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From b2aa9bc237779dd5a3bc88cb9c15baf24de660c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/210] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From fa1b1e1a6eb6ebbd882caf0283f239735f991b92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/210] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 5136e6c01677ce41875315cd9d65713aae9ff9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/210] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From e0647830df073711b478b47f6619aa3dd5b0f566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/210] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 672e6225a526ecfb54ca8721cfdac9f47a875b9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/210] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 36567647a828319b6aeeb1619e69e3d13e3647a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/210] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 47953cdee9abc5f56cb3621ad3d259872b22c446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/210] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 67bd857564f9077164e17ec23850a01221bf6f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/210] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c366ffecca75532922647662f2bbce173dde9c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/210] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a014cd020d0ffef403ef36a775887a53fae8962c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/210] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 910f27215e3771f553bcda51fd3ac7535a706e7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/210] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From cb7364c9f6efafdf3d20d8c1e5bbe8dd97f56aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/210] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 4c73faa386ca6e99a68e92b352a7fc93c4675439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/210] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 4d9100757c46787de410220788fed365196ff4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/210] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 49f2a2839d511d851e07c2e30a1d3afe4aff01ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/210] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From a3d0350afaf7e308a420482b6696e2f8a105afe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/210] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c44cadbebc653b98494f989eb09b94832062a731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/210] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 181aadf8f202e0692aa0b75d46c148c4c64c7e8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/210] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1e924d1842416704c3edb1af10d9973e87e4b2ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/210] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From c3975868453927e2cc6ccbf6d118ecc19d359547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/210] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 81ac1111342e83244bf2c9920ae463b4b1283630 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/210] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 12259ea94deaf8528afac81a31aedac765fc18cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/210] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 51e8db846b268eb99e7d93a293cbd052e90d523f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/210] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From e6a572a1d6b960e1225648f24e6b030ad4872255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/210] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 047e3c6680aebaba0a4e1ba6d950b6eaa5f69db4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/210] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fe37ce9f036061a5cad32728f7df2cd0448668e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/210] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 4d4ea9311c9985fcc5c79645e306056dda69276c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/210] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 4265ee2e1d49c0b81cb1d3f904c53f387dd539d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/210] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 69f489cc35d2ef3e03ddb5f6def1b90f4cadf273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/210] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6a335b1d6ea9279b2b420e031b30fe4928b53590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/210] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 5c6b3348a36156d4c08d2f87c1b1811cc6e65c43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/210] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From a6511bad314a8c38c26a8a2cb8b86196058f22dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/210] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 520321ed55d76dadbfc200202901f07a20e9130c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/210] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From b2e50519e3b125972d6b2beacc3f67d06051972c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/210] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 8c32e675ff853eb4304c9f1a3c30832b88ea7694 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/210] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From ab0e0a00953e7a57e8a9131749cbda1f01b6fa0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/210] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c3662036e0ad3516d47e71b1fd15cc8820705ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/210] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From cd2635a4ec11ba572561273f0e1545e60bf81a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/210] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From d6956f4a8f398e7e42381868eb402aef9fcf716d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/210] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 1960b943e24a015c39d3cd247aa7a88ffc47bd7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/210] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From becf6f8645e9616f8f077f0f26f0ee880a250261 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/210] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 903accbab7d019f6ebd91789aa8d3ce5c566eaec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/210] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 14a402fa1862a2af3ccbf323ddd87665c1b52590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/210] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 64aa9394c86cd18e75ab92648f893ca6dfdf3ed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/210] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fb407d1d000dc400301fca630b19fda931716250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/210] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0b9930e63d30d46f16c0f916e3e2c06d2cfcc194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/210] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 1f9ed90f1a8b1f36f4faa7c271b0b9d9982f4b87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/210] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 46df7cb478bb131a0b882deff05b3c931ef9f1ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/210] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 5faec198e4342eb3451ca4e36da69015b9908b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/210] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From c2d615db2f6d62a0f40ba52ad1ee7c071d9bacf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/210] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From e2c637f5cb58fcb0d32ec64722612aeb4fde814a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/210] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From a1d406c05d86a4142f791f41c3a07d8c270ae3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/210] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 46ef03072edbfcaa42fe06b600a9f2615ca9e050 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/210] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 56cfa06a2d6e9338cff7a0a14318ac68dd8c3352 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/210] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 09fbf5cd848804bdaf2642564416a8f8245191df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 204/210] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 6ed88990495513c75f911c253a0003295f27b10f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 205/210] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 6862909d9aebba1cf0f6dc100c489acef237f4c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 206/210] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From eaa4c5f3d7d00cf9c8872fc6db07805d3527c179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 207/210] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 23c5824aaba3453534f58b302b3a77a3f5f20bbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 208/210] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From a574cb9e6367485c0684e8441857120fab5dcddc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 209/210] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 4399671f8bfcf9e013b347fa50add9fe691eadd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 210/210] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (13 preceding siblings ...)
  2020-08-18 14:44 ` pullmoll
@ 2020-08-18 15:22 ` pullmoll
  2020-08-18 15:39 ` pullmoll
                   ` (38 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 15:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 173726 bytes --]

From f877f06759dffe6159307b059c2b428adfa0e353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/214] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From e78095c2db5163872f42fb2cb1759e93863532cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/214] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From dd1ec68546470eaf698f9c8ed13b695a23018b9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/214] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 06b1d234a722d6ad31725598c084c3ac75001eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/214] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 6d960121cf028305371797824b72b0ba8ddbdbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/214] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From f88aac87aa893ed45ccc0391876a43777b6873bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/214] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7479071e2b2738ccb684ca96ba9bc98cfc8bde8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/214] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7205ae8a179cda40fba07dfa5fcd4ce523190cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/214] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From ede7801dca1dc1e986cc87c325501b9f3d2bc561 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/214] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From b05fb15963cafc04d232bce17acbda3b2df7d0b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 010/214] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 793423766f6a4aa3882a3adf5e838034f1a01210 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 011/214] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From d36e98bbd2d8016a182b98dd5d90a82f65d161f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 012/214] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 38c9232f8d0f5eeb62080a7aaf618b0ded9c4046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 013/214] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0fb2ff3324dafa26fae1fe96a1c0e3455c65203b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 014/214] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f3eae4a94826b37f4d6ccefeca3d02b2597f5bdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 015/214] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3fa92f47e1396980bc208875d9f0ee118a90547f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 016/214] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 93c5c7f8cae6b346bb4e7697bb902216bfe4e19a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 017/214] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 15b169afdf4dc98135094ef188cef419caf6d4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/214] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 56bb572a7025634e77b6a9a46b440fbb5b683670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 019/214] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 55a863b0bacd339c1b553f1decc6f5795f3041f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 020/214] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 1b940ac0075106d92d6444812a29e47e53c8a6e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 021/214] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From f6ff4615e05314aae1fbd14e413c91b2a60f5ebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/214] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From a3076df0ad8b63c248a296d5c6e212376f8eb58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/214] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 9610d25c46d317c894004980ca15f259de6ddd4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/214] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9a7bfef3f2c07cd17a1c015efadcc7823d7a11ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/214] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 8bfcf70da68ec1211d98f37650f12da743b571f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/214] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 3295a10802f793981cc4701f6aef656232692525 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 027/214] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c371639002b887b7d1c3513a08d4e217789fb23c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 028/214] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 160e120ad6dac230ccc1e7e999c022d459fdf547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 029/214] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 219cc3385ebd866d9952b8b9f3f4ff3465e6fec3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/214] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f9a72f7f3ecfbc56b9322c3b23865c1d2d12a35b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/214] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From d40db0774195c3ae635e0c0fbec8f8cb2a1567b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/214] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b26136fd408b6b1346e3a6ecb51a3399b36cd09b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/214] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 3ea86a068a5f3a55ff36b3fd6d62f39428df5a58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 034/214] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 631a7057612a3936d67e309572e448743d8a55f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 035/214] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From fe82593671ab2411e8402ff8c0110ec3829b81b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 036/214] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 8f90689e2b609fe745de0ad023c465c8c7173538 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/214] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5b8362d9839f35551b97797ae77b9e528b70f4c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/214] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 24a9e3e1e9092d7b277bf1f9c583013a0da6921f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/214] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 8b46e5a501c4c41829849d72729d71f22f58dd95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/214] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From c232ee7c46ce8d5c7c3b06f9833fcbf9f7da6f20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/214] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From bccea95dbe1f51f941f2bc13c1143a82572a6d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 042/214] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 6f55d71c5b2d9c9a37f5937ebb8ff96abf82d6bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 043/214] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 2da1fdb3294ad726c8cafd918dd3b4ef4cfc927d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 044/214] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 0721848ce9702c753460335d9abc453feea0f51f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 045/214] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 02b37281c3e826c62ff9fce95f908fdee86751bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 046/214] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 93880a4e7fe8004b680a1683b5bd60d4b8d748d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/214] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 0d8cab7027435d06fd86f944d7984e4321906429 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 048/214] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 8c307a6125246bf941eef2eff536a7ee4a96b2a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 049/214] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 830a290411af7b6d1483910176bd2e3cf9af0093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 050/214] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From af24020797067a7a9ecf03e92eb5a090dd97b6e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 051/214] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 0cd217932c5d42c9eb6f5fac7d75091efcb445ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 052/214] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From e5e5d5d1bc59570bf3f26cb8b9d1076f8550373a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 053/214] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 00af08c5711bab4f9f66c3a2307e2d080efde766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 054/214] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From a0f8c415d56598ffa06d23ad334581e579f6465e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 055/214] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 72df2f5d895e039871a35a4e1440645d45d268d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 056/214] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 09cd9651c725f2202b14ab72e6f126ce9266aa52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 057/214] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 87619803f42fc07d4f576ea2683bc473d7d9bfd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 058/214] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 6987f4855d36f6f1fa4409908217d337d659d788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 059/214] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9151c1728fc6c1db9c3d87aaeccf8a7279d21301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 060/214] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From ebc20f7327c5c2834bebda2243867bf2b136b49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 061/214] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 39d4f019f82f83877ddb0326895348183cab12d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 062/214] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 099215219f8e920d3a3d8a29ffe86e5a0da9ead9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 063/214] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From d0d51dc7182f2d71426a5db941f99025700ccfa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 064/214] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5bf3e73185f6cd20519ccd3bb1f78521e150bac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 065/214] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 3d881f580d70fecbc05f66a107412000fe549bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 066/214] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From c0a3d6d7c5e3c115ea01ed384c4bf14d968aa091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 067/214] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b93785477d9efdb734068728d470eaa6493c993f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 068/214] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From c21cb55d18543fc3546c8d495c54bba5cd80bc7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 069/214] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 1933415c50b26475dc1689eec804616c98465fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 070/214] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From eee2daaba204644f4f3fbd6f66be60165d68e2a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 071/214] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bfb6d369c4fd69029161ddc89521b23442b2419c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 072/214] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From d8b19188b788d0d62991bcf8415cc1ec4a715bd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 073/214] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 463a04161b43d10388f740d2516b4ef7b8f9a71b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 074/214] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 0138aa5cbacd3732befd8831904d2c125ffcb087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 075/214] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bae6cd04666543b55c4e20d90f204b9a1b9e2b3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 076/214] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6ef29da6fea8426aa60f31f75ac1e240d3454a69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 077/214] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 533202d1bb1f823d1c8411bd7175cfef8c90de19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 078/214] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From ac628dbf8fb0801cbdc6319593d54c92f87161e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 079/214] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From cf03d9464f082bb3b31d94faf717e4b40c89642d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 080/214] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From cdf7b368023d5edd9dbe29b1bb72df87da678d5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 081/214] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cdafbd7deda472b216cb85a36a056f7379085c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 082/214] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 78813b962af2038002aa765c2b8ae239d227feee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 083/214] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From d34e77238fb8814dfb3db09091ccfdda1b68669b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 084/214] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 10349f12c8b1825d3406599de2f31329485f05d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 085/214] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 67bc28b07f0e3b14ebea30b2b5950211151a15a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 086/214] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 1f7663b5c2d62c3ca92bacf3e343536d8a3ac18a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 087/214] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d6cb15cf3c13829d93108021228f2e129f39ab3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 088/214] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3888aa738519f1cc93b749b59be7f460cc7e06cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 089/214] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 7b964b6f714b04b861e6d2ea176f2d0e91c48f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 090/214] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 54cf65bf965464aaf416563c5286112ca3303d00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 091/214] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 96e6d4c52d7292736c9673da0a43ceefb108e323 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 092/214] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From b210fcf89408f036e2cc922c113a0aca965c987f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 093/214] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From f15cd2d9abfd8c5975b5211428002e4f58d24964 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 094/214] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From b5fcec73f5e012eda23a4bc77be7a95b5cded9a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 095/214] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From d7be928a4c9aee859e0e706b0392d48388580dce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 096/214] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 24079be9c1960b6ba7b1cbfb80c33bbf4961865f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 097/214] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 3d71432b9833bf884a1efd99dae5c2969fed6f85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 098/214] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8326e69dbe314f58585671c2b6ec6604e8c23a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 099/214] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 52766b046f3b1f7a98dfb563bf520d927f291b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 100/214] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From b469c260072599e110fe76479f062b7da2b4bfc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 101/214] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From dbefe8ab005dee8d6c96c32a9a58b7c335cfd683 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 102/214] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 593e4d96a86abbd9d4937c1cf87e7e61ccbf1703 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 103/214] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 796808eda84f6b27d15f4f0d742a44f3c9bee39b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 104/214] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 0e61e6db38fbb33c838276a11ebef527b01721b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 105/214] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From e517979fa3bef7e5fbb9eb2661e56ab46c2b892e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 106/214] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 3a7b86b88602155d723ef37b826d9c9d57ff7c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 107/214] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9a5f6263fdf30754e2e3ed097ad2539ca17d22cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 108/214] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 71f834673d69af4014aea6ad2d88d69b0795f264 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 109/214] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From c2bc9d6af5495f7035961666d2b613004106613c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 110/214] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 77493eca134e915336162c4f500242bcb1cd9f3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 111/214] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 90a97c4bc20a08a6072d601f213fa14fa3d2dc1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 112/214] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 4a646e0587001f4c2758fc609cd6c1926e2e122b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 113/214] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 49d542557ab9e0af4bc0cbebca5f48bc1f8fa5e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 114/214] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 3f2ade3d5ab22edd2684f95823092f0f5b712c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 115/214] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 8f99e23ce98504d0bf082cc0252739afcdbbb4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 116/214] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a0961cab329637fcfe57e65feefe84c2657d0b5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 117/214] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From e14f23efb8cc7d3623cdaeb2f8e2b585d1a98002 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 118/214] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f395001f0187505329619b085d50d80a3a051900 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 119/214] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From a4fa7722ec7b74e1cbaa63915ea2a88de3fb362a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 120/214] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 3870dd4e93135bb53bb2a9f0fc55d6ca7516c981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 121/214] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 2756ec6adbbafb87adba1df565ff3172b7eedf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 122/214] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From d7be9a461c3dde63dff817d208f9007979c474e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 123/214] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 827e930a9de2db56cd0f9d166e51e3fac582feab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 124/214] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 3fba93ac3982ffa854f4f88daf0f04f5770051f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 125/214] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 8c84c072da2ddda3529f5e415aee989c4323df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 126/214] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3186fb8b1b25ac4a06798a9c16d4242ce72078ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 127/214] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 2f97673d94216e28e2518d60331cc98429c3ecee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 128/214] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 185d2c10f5e9ddc969f4f01600a155e7937468eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 129/214] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 69b4bc5de3bd45f1c794afd4389345c2af175361 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 130/214] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 49c23865508fc67ca5afb5535370633a89ebbae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 131/214] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 59a2fb9dbbb91cc281f19af3959a4254c9af23e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 132/214] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 71230e904cfab2b7348bc436b3c67a26f14b0808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 133/214] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9ccc5941ff4cd6b09749596dd75ea1e13536d5f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 134/214] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0fc514d7c0ab7d660b15fdd3e250cef2c43a6860 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 135/214] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a409351bdfd160045333cd120ec8bc9f11274df0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 136/214] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 0898fb541611f9047f552d4f9b65de44616a4deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 137/214] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 534abe8548ede9eaa4f77b537f7db7053aea1f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 138/214] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From ef829ed4d24c9eaddc97766f8f5c28631a0dc548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 139/214] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 3859a2edee5580b26ced04094e7aeb4cf77e9451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 140/214] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From da631a2ad1cdf3c132a681208be189b2c9c018fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 141/214] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 350842e73e6f4d1356f15a5237adc9bb17409810 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 142/214] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7855ddf0a5c5edf1a113240d9a933fd2bcf248f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 143/214] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 49cb4bc4a6c4dc5aa9371cb18f702a7744dfe52e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 144/214] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 64d526bb240c98d6e907ebd1da53c18e7d0f0755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 145/214] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 7771e501ef325af93c4470f643d03dd40c95e4b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 146/214] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From e9214c2f7c514e5d12127422a56d2f50a4ad3e61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 147/214] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 4dba16989d36b37975338dee5ade9761c6b94287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 148/214] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From e701d51785b65f4928acf70912fde9548d03b90d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 149/214] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From b2aa9bc237779dd5a3bc88cb9c15baf24de660c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 150/214] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From fa1b1e1a6eb6ebbd882caf0283f239735f991b92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 151/214] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 5136e6c01677ce41875315cd9d65713aae9ff9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 152/214] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From e0647830df073711b478b47f6619aa3dd5b0f566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 153/214] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 672e6225a526ecfb54ca8721cfdac9f47a875b9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 154/214] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 36567647a828319b6aeeb1619e69e3d13e3647a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 155/214] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 47953cdee9abc5f56cb3621ad3d259872b22c446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 156/214] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 67bd857564f9077164e17ec23850a01221bf6f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 157/214] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c366ffecca75532922647662f2bbce173dde9c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 158/214] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a014cd020d0ffef403ef36a775887a53fae8962c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 159/214] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 910f27215e3771f553bcda51fd3ac7535a706e7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 160/214] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From cb7364c9f6efafdf3d20d8c1e5bbe8dd97f56aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 161/214] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 4c73faa386ca6e99a68e92b352a7fc93c4675439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 162/214] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 4d9100757c46787de410220788fed365196ff4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 163/214] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 49f2a2839d511d851e07c2e30a1d3afe4aff01ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 164/214] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From a3d0350afaf7e308a420482b6696e2f8a105afe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 165/214] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c44cadbebc653b98494f989eb09b94832062a731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 166/214] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 181aadf8f202e0692aa0b75d46c148c4c64c7e8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 167/214] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1e924d1842416704c3edb1af10d9973e87e4b2ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 168/214] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From c3975868453927e2cc6ccbf6d118ecc19d359547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 169/214] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 81ac1111342e83244bf2c9920ae463b4b1283630 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 170/214] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 12259ea94deaf8528afac81a31aedac765fc18cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 171/214] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 51e8db846b268eb99e7d93a293cbd052e90d523f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 172/214] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From e6a572a1d6b960e1225648f24e6b030ad4872255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 173/214] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 047e3c6680aebaba0a4e1ba6d950b6eaa5f69db4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 174/214] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fe37ce9f036061a5cad32728f7df2cd0448668e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 175/214] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 4d4ea9311c9985fcc5c79645e306056dda69276c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 176/214] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 4265ee2e1d49c0b81cb1d3f904c53f387dd539d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 177/214] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 69f489cc35d2ef3e03ddb5f6def1b90f4cadf273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 178/214] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6a335b1d6ea9279b2b420e031b30fe4928b53590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 179/214] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 5c6b3348a36156d4c08d2f87c1b1811cc6e65c43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 180/214] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From a6511bad314a8c38c26a8a2cb8b86196058f22dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 181/214] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 520321ed55d76dadbfc200202901f07a20e9130c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 182/214] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From b2e50519e3b125972d6b2beacc3f67d06051972c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 183/214] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 8c32e675ff853eb4304c9f1a3c30832b88ea7694 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 184/214] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From ab0e0a00953e7a57e8a9131749cbda1f01b6fa0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 185/214] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c3662036e0ad3516d47e71b1fd15cc8820705ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 186/214] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From cd2635a4ec11ba572561273f0e1545e60bf81a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 187/214] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From d6956f4a8f398e7e42381868eb402aef9fcf716d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 188/214] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 1960b943e24a015c39d3cd247aa7a88ffc47bd7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 189/214] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From becf6f8645e9616f8f077f0f26f0ee880a250261 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 190/214] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 903accbab7d019f6ebd91789aa8d3ce5c566eaec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 191/214] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 14a402fa1862a2af3ccbf323ddd87665c1b52590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 192/214] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 64aa9394c86cd18e75ab92648f893ca6dfdf3ed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 193/214] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fb407d1d000dc400301fca630b19fda931716250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 194/214] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0b9930e63d30d46f16c0f916e3e2c06d2cfcc194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 195/214] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 1f9ed90f1a8b1f36f4faa7c271b0b9d9982f4b87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 196/214] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 46df7cb478bb131a0b882deff05b3c931ef9f1ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 197/214] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 5faec198e4342eb3451ca4e36da69015b9908b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 198/214] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From c2d615db2f6d62a0f40ba52ad1ee7c071d9bacf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 199/214] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From e2c637f5cb58fcb0d32ec64722612aeb4fde814a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 200/214] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From a1d406c05d86a4142f791f41c3a07d8c270ae3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 201/214] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 46ef03072edbfcaa42fe06b600a9f2615ca9e050 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 202/214] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 56cfa06a2d6e9338cff7a0a14318ac68dd8c3352 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 203/214] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 09fbf5cd848804bdaf2642564416a8f8245191df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 204/214] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 6ed88990495513c75f911c253a0003295f27b10f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 205/214] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 6862909d9aebba1cf0f6dc100c489acef237f4c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 206/214] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From eaa4c5f3d7d00cf9c8872fc6db07805d3527c179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 207/214] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 23c5824aaba3453534f58b302b3a77a3f5f20bbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 208/214] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From a574cb9e6367485c0684e8441857120fab5dcddc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 209/214] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 4399671f8bfcf9e013b347fa50add9fe691eadd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 210/214] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 62157f4bd473726001106759345cd8267d39843d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 211/214] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 47faa51e1fb35467c07815b015765e1e649e5747 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 212/214] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 62523bbfd2992ff3eceb74f70b7c5dfcdd146e9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 213/214] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 281da0d6f9886091e9893ad5f49d611d6615673e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 214/214] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (14 preceding siblings ...)
  2020-08-18 15:22 ` pullmoll
@ 2020-08-18 15:39 ` pullmoll
  2020-08-18 16:28 ` pullmoll
                   ` (37 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 15:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 173726 bytes --]

From cfb7377c1d140bdf61705d8dedb3ba5161c90a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/214] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 003e1ee4b527db1647783a8a7b64f32af3616bfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/214] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0b99b046a50a05b3b7db096636060bb61016a71e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/214] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ade08825a1d3eb59656ec531544c1e7d3958478e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/214] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 3612d60078b9e81c08c54ee3dcccf85310ea6edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/214] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From d95a1370e7b96d6361af0cf272540db7e6f7dc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/214] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 877b4894f7c9303404ce2e74e4f3d7a94636a92a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/214] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 988a5969c84cbced200083c34cd870e6416e6bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/214] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 5dd816bcd275fef320970845255772371ced1003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/214] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 958f749def62a22e3a877db7052eb882044ac800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/214] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From b8b53896c6aa89dde593f6ce7273e3570b45b9ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/214] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a5a67fddf349ae1ffc42d8f3b8de1e499c1e526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/214] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From f242abfe5b795d4bce50c4a22c627f2554fb2046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/214] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From dd472fd0e6e3bbdfb0e20e0a9b541af7a1eca855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/214] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From bdfd05aebda1301db5cd2ffc7539d69238598bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/214] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 26e86c4baa1bab3104eddec09cba36d3e2e58cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/214] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c91e249ac5927019c88b42ed30259fa7212d5a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/214] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 34261582bc034b748bd59e47b4e2bbfa8743e31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/214] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5517d8cfd0b5955964c19df946eb62dd29e0450a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/214] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 484fb257bf5154de89c9cd0114dadb8c1943c070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/214] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8651388a51ff1e124598a51d9eeedc55bbdfcb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/214] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 20227fbc9a45c6eb39c02f4c2e77f7eb51aed715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/214] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 7124577f07879f3c23f7a8ba3cddfbf4b2d1e6b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/214] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4175b14facde26d77fb5315c2f15f46771f8a71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/214] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From d11abac48db57e6b3718a14a4a53cb1487b6d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/214] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From d7c588997769733043ff271a0132b0b1f0b600ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/214] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From e2311e4989cfb7c8e2a5e54306fb2fee719ddd67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/214] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 902789da414ff4e41a59f07be7430436eda79d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/214] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From c8f6a2b00bc16afc9be21f7cb12b12dd848f72f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/214] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 0837a44937b1ed008e63ddd664f94bbc4971238c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/214] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 87ea825e10e3d2c2702db2c99009f5cc8c85b6cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/214] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 1280a797269a3209d273710461e926ca59a0a7f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/214] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From e6511e11fe5521ac71bdb64bc3bae82b7149e52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/214] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 6a07498a80cf9e6a7a791a44a4283055ade2dd39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/214] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 84c4bdcdf18f08b5e5237e36117939473ed6b6f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/214] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6f4d62503ee8452c1737424d176b3e0942318940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/214] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 37e0c0563bc7b3d2b40596c22b6f068e0ef4f617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/214] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 436537c48f59106e7aea0c2b95868327d3bee087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/214] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a1bfe02794f6a6900fba15c99e9194a78aefc9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/214] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 69ef50c3bccae6b73278d69b5c6593ea9e788ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/214] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2e511fbc936330e8c4a8c358675d337b77d63133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/214] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 8f1bd43a30d06f42638e056414b94f785d7d25af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/214] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From c8eb18bf7463279cb66b9f92f89d3199acfe3b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/214] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 31c0f9dd89320421c7ef47fbcedb629519b90d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/214] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 114cfe72deabb443ee0f073ee17f475a2d32114a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/214] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a8b33a30069f3b777a0a4bf7cc251ef749db0558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/214] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5d7ad9608817d24391c12e51ca5255cad9c3effa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/214] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 087208b5d3301fe38819fbba4f5f2daa4baf3a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/214] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From fabe9ad0433eb760c1ae9957722a575495f2c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/214] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 820eae3a18cf33514aa7048464b11a3f3627e16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/214] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5a732f19709079252d8254053866fc6afb75d5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/214] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f7a8e549aaf7ff5f13adec4185b141d3705f6bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/214] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 3b4bdb43e9dad5a7327daa5ce3c8632d51022d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/214] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 8b9686edf0b066d14782642a614d094f6aafaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/214] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From c93caa6351b0f45f27f08237e80d1cc7761f2743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/214] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From a8a1cb036ece23b40f895a20b0faada34f9b6b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/214] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 99794b1ff40255843945db3afb4a9caed2a6de5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/214] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From d69bfd5663dc4d4d81ed92dd682acc4bf85f5d10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/214] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From d8f37e9ce0a3abc10f17b026211f02270d1f77ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/214] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1076ca4eb6bf90e55f3cc6e23a79a2b1e8ef8ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/214] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 21678947b47924eb1f0b038783f0e06cbb77022f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/214] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 73bc12862797b288e16305e393e7dfbeab25dd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/214] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 91cb4b05429dcb9833bb3dc1e6f2199495b6a5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/214] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 9f6e72eae5afd4a6ce2993be25699749734bce9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/214] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From b94119c4a6d98d4b3f1a7c423ce7453c98807e65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/214] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From dad431d9bd7a6c061bf734c96a88e5b9a8700ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/214] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From ffdfd9717ff781084a8cd54ba0b50a4264223c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/214] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 635781cfefa6b14a36f4a4ca09a33b590384ad94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/214] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 586f76fb7c6d0c779f3c092cfa025a70e16ee2a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/214] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From aef508eed5d24853b66f9398227c9be5e773db63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/214] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From fe596231aafbb6cbfdd759398f19085b8fdb5b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/214] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 07c093068c1baa4f975eef4141af9b559e0b64a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/214] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cf65838f8658e9404c4cd2f1e9ce220cf07e1284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/214] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4d7154f23089b910fec7004ca914d57efd2ea651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/214] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From e8bb3f4a9a5609f95179c60a872982ad508ea173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/214] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a8dfef28333bbbb88a10a14d6ae3520bfd31dfc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/214] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a41a16a79f8d157f8a73bda3aeaa6236d503a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/214] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 81c8b3e0a1424b1f49962d1a67244058f9cffe15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/214] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 26a5f56e1a38e62039bcb9eead2966ba25537562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/214] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 6361e13eb1e9a8c6ce26d45fc9f0421d8d7a24e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/214] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 00ab5099dc7e450321c35ad8e09eeed4816a40fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/214] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8d1e0c0620cf82299dd0b6f321a1fd45bc8a8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/214] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 248211a1e32613a5026a195adc56389e4705bce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/214] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0dc5df77f35f135cc404c3f15239a363977c9a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/214] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8ea78cc9b6c81784f12003d6b5fcd262b27ee09a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/214] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f40ced96e92e2a6ca1d7baf99d8c048a5c24c1d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/214] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d0886a7a114ed2db3bc53ee2b2bfaafe18847442 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/214] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7d0db4a07a5a0cd8625579fbfc05d184a7006317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/214] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c13c900cde17fd2b1e109b5315fe4eb665350167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/214] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 8768ae606e8775558f792c8e1192efabdd89fc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/214] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From a744f440f36a5b86380334160a50049163374594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 091/214] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 74a10be82f60d3ff87c6a9cf2d16b36c9157c5b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/214] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From a096e75eab6f8c1664316364261c3953e7798253 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 093/214] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 8cd2d6b4cb97a3ae45e10fecd35dbce098b8dff8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 094/214] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 39608eb5dd6458077f2caffd4338f00c2fa91c60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/214] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 0b9cda10636d16fd808af414e50460ef8a479bde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/214] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 558d983c69bc453d10645e8f01703a6fb10e692b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/214] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3b6c7cf891d0a35bd88185b0af5438219c8e662f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 098/214] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3b59a8a61dc8d0dbb595a190e3c86a2bcbed73c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 099/214] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 73f382856f3010d026fc20d38dd51aaeee8a6f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/214] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 21dcdbc45955dc2215104ce3909f8842fdb8bf78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/214] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 7951acdffd8022789cc958d13be934241ba0abe6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 102/214] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 9b52e6e08e6fac6e17700de23139bd40e3399121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 103/214] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 2c2d247303d8983ec86d170c37814481d23001ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/214] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f9ea6fe412da6a552a28a741c2382ab606782dcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/214] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 59916a5fb5aa861fe7be0e761da9918a1f0efd81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 106/214] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From b14953304f25eef360c7ca10055076c61701e9de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 107/214] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 9b153d6c2fd6d7dd84f7ee9ef169b0d047daf89e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 108/214] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From fe47fd6bc772e11321fa493ff672f383af0c6e12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/214] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 38884fda9d967b8ca0ab95581d2b7eb9a885e6db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 110/214] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b4d8f408f8c50222a60aaac1ea3eaaa0ea27f40f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/214] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 27b73ca7969c7a036aba665990db64fb255a8a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 112/214] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 1eff8662263a46fed33caeaaf8511962e4f6d4c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 113/214] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2f8d8f754ac2b6170afbfe45bfe0fde934e9ecba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/214] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 88d7d7f8642d74e1e2abe46d7ef6d93191d0ff99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/214] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From a548565df61ee16713ee0b1691128cb7344391e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/214] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 4393e7c5de0701750040e965f1c951dbdded41b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 117/214] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 805d62a7ac77551554703b8293aa5eb0f51942a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 118/214] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ec719bab9a5426c227931b215bb52dfffe2f8520 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/214] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 930b2002d44fdeb6f3b117e568166e661238cbb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/214] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From fee07a479f02f67b354e0415ab67432da57accec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/214] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From a8f99b982aee2910ab5b44c77d2090836f43c030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 122/214] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 9544b9c967f8bbad16f0d23a2f3dd0ca94f1a3b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 123/214] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From c374e905d593e1d05e3adde22d37cfeee573dbc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/214] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 848207a6a9267bd97c69d033c046e1d9e38c31c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/214] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From d5cacd10800af637b899b02b5e47b3fdefb19f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/214] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 37dfbec7e0c795da0d889237bb238496e5ccfbc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/214] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From af0e4f9f7ed92c7fa7a7b745d53820bf5356191c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 128/214] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From ac6a893ee271b47d1dd18c73b250f0bc7617eac2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 129/214] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 48ed6404e84a51f907ea766db6045f262e1e4da7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/214] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 6333175cde592751aaa2dfb6ad60690702899e2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/214] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 6b4df230992f2f320ac94a4e7a939d3b47069610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/214] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From bbad99c6d0f79e4f65661d8cc0be9c0e8fc7c792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/214] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 00cbd7fe5b4852bd075732c0e4f5c3ac731decc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 134/214] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 4f2f936462afc515d49f23970beacb9469d63a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 135/214] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From dcc2d499b70da01d2b3e34960745f8e252a68a75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/214] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From af28fb44f146ce3a010583a9404a875dc8444524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/214] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From cb377240ba4e09b3bbe382a260f95090a9f36f45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 138/214] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 83281d71e46bf2dcb619caa5a04ce49f5800b341 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 139/214] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 1a55fc1eed10e14d5958ad3ae1d2dbc50883d549 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/214] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 87a157d12010cd5ea1972e591ffed059caac7d1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 141/214] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From d441218812eba6fcf5bea42bf53bb8f23e3e8f19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/214] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From cb080df5d75c70371e77274cf92713e9be7fb775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/214] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 990c06f12486da2d5ced96fcba54bd6ae97c6c2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 144/214] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 18a5b06cd5562c74c867309efdf82d035dd16552 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 145/214] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6bb28a7a1859b546652c5e011997c9698ac01ee3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 146/214] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0f0639cab9c8e14967f996723c13f35531a84dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/214] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a4f8f8e3c90b984e718e1e7b03aa40f378e14d21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/214] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 58d50c49e5c72c418097e42c2e338d6db6d8d44e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/214] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b3d35c03de1d45a4c033abe50894b94009d6c5db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 150/214] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 9a9441f93b8da931d3d3cb3048792310eddb809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 151/214] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 6ea87964501a6e439689b298e4eaaf4445d417db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 152/214] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 8bd63f2d4ab1e37357ec26ae09aa0ed7b581276d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 153/214] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 68bea00c5352b863ec9df75537f680fab574f0f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/214] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8da831fcbe8370d49324874e8360ab5ded5e2a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 155/214] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7a1a79d8a926c6f4ab16b782056e4b05f1da29c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 156/214] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 07febabb8e7a3bca1790ece14465c3fb11eaac2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 157/214] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From be1b712c372005495171d86c8722fbe2fa162aaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 158/214] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From b8099ff5a0d55c087fabfe9fae547d9dd792cd11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/214] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 02d0c27b3a1d4e0e98b4f8651d92df9013ddb245 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/214] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 3f0a9a9418b3ba04414dd9cc8fdfe90b78bc5731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 161/214] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1ef69962ac9ea8e6287db3c283a58cd696d296a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 162/214] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 1acd8480dccc8ff18d4dd88b2cb967ee28fe8dbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 163/214] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 1c721e558d932a6b6699368bf4da025c2737de0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 164/214] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From a5bdd07ff004f847bff4bdc7b889fbee7c1ac32f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 165/214] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 39abdf973a434638095e2d55c1850075218127a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 166/214] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f80d63808ee40c448c0d6cddd65688426e53ad3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 167/214] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From f43ab59a0368cd9748a8e03c0c89014d2a4b8f00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 168/214] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 40f5e2aea405423fefe61bb141fb814354fc9ae7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 169/214] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 4ef1dc839868e22dfda0acbd1b8acd534e5d3278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 170/214] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 989a30c97058bdbce26a857f959e945438dbfd19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 171/214] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 639249dd1ce00a2ec6419b7b46d70ff39593f920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 172/214] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 81919e92f02263743581e0963172b2dea7cc755b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 173/214] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From aeac97336d1f6567264ba36406e1a28b9f7a49dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 174/214] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From a70c6fd3a3c32eaa6e19ab806347c2bb5fa678e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 175/214] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f8fcadc1442e96e21e5c58472cc8a418a2a2b3ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 176/214] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From c0a3211d33393a3729e60a3f455cfad5c5c3b949 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 177/214] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c3f83a10627293b6502f18f2688e70df6b155714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 178/214] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 9e4e28650bad3755915ac7ccf61bf48cf63d7f92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 179/214] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b057801853d822c47fa9d29a95c95fb5c594e6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 180/214] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From dfef8d475a4a156c02894972b727794ca33a0012 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 181/214] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 9b503d6d49e423cbbaab0fa7d749e78892c4fd36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 182/214] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From e91895eb5fa26d9093788829a56f3b5519352e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 183/214] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 87135c7733e4f33cb83a5e8e70f121019a0eb872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 184/214] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 2c9fd88af734032f288f75d935136ce944b8a109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 185/214] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From aec9a2775d342c94e23aa386c4d2ad607e01379c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 186/214] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 08988541c3d23c56d6964562af13b04f34274c46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 187/214] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 1d589a0ef1de1f5bdcfa2358ea812ce17af499f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 188/214] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From eeade07c714b9b7fd2f5e64e9ab6d5f6318bcde4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 189/214] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From dd0f9e3d03332c0c8c763bead8431843c2866f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 190/214] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 73c80284d5b66aed6a01b2937e2fcece8bd496dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 191/214] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cdd1068d3fa9c8a0ecb835830bdd345061195aae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 192/214] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From e2cb7f05bf0dcc4266b8b51a6070a225ecd821df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 193/214] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 33da76fc9297f202fb4cb4a6f0329b69ba5db421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 194/214] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 76d539cc72f3f2d24e5d289e9917d66d16296b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 195/214] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 04d45b574e2fd705ce9cebd213ba97927ae890f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 196/214] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 3da57afe5320b73c352866b5a34779d07764d0b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 197/214] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c96b05c2d85baf269e287c34899d6e5f835768af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 198/214] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b9cd9a0a4005b6a8a24602f715fed6a56d47aa40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 199/214] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 215f58dad638a722fe2d762bb8858e250c91efc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 200/214] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From ea4ce9f63e33bba123c0e48ce892855c5a2cbc0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 201/214] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 18fae37ba88722efc583f1ece606b1aefd23d76a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 202/214] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 306131d43bb9684fa67f0109d1ec4f4eb7ae51f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 203/214] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From a7f90a3fbcc65d3d56808ec4621fadead66a0d04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 204/214] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 9f7a8cad4fc68e0eb22dbed74d2603aadc1ca06c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 205/214] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 071034e7553f10866e1aa71b41a9adc748cf74c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 206/214] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 6473843f210926b4d310ffaa594ff14eaf61de3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 207/214] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 48e9c2fee8e4103601ba68d7f1843caaea5e1031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 208/214] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From e0ce4b663c1eefd06a9acce9b0d34e12c28f59ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 209/214] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 06c14e4aa4558fb4124e2cbb145fb2db0b54c3f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 210/214] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From ed579f83673b4edb89ccadd247fce57c139700cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 211/214] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 35c569629aaaf17938e72329e52533588692fe2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 212/214] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 71c6d0c5a2656600fff07c750fd05045e5aa6445 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 213/214] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From a2ea1b33cfeecf713cf50a9d1cf5b891c65413e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 214/214] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (15 preceding siblings ...)
  2020-08-18 15:39 ` pullmoll
@ 2020-08-18 16:28 ` pullmoll
  2020-08-18 17:05 ` pullmoll
                   ` (36 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 16:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 175388 bytes --]

From cfb7377c1d140bdf61705d8dedb3ba5161c90a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/216] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 003e1ee4b527db1647783a8a7b64f32af3616bfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/216] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0b99b046a50a05b3b7db096636060bb61016a71e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/216] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ade08825a1d3eb59656ec531544c1e7d3958478e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/216] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 3612d60078b9e81c08c54ee3dcccf85310ea6edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/216] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From d95a1370e7b96d6361af0cf272540db7e6f7dc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/216] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 877b4894f7c9303404ce2e74e4f3d7a94636a92a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/216] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 988a5969c84cbced200083c34cd870e6416e6bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/216] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 5dd816bcd275fef320970845255772371ced1003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/216] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 958f749def62a22e3a877db7052eb882044ac800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/216] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From b8b53896c6aa89dde593f6ce7273e3570b45b9ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/216] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a5a67fddf349ae1ffc42d8f3b8de1e499c1e526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/216] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From f242abfe5b795d4bce50c4a22c627f2554fb2046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/216] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From dd472fd0e6e3bbdfb0e20e0a9b541af7a1eca855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/216] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From bdfd05aebda1301db5cd2ffc7539d69238598bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/216] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 26e86c4baa1bab3104eddec09cba36d3e2e58cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/216] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c91e249ac5927019c88b42ed30259fa7212d5a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/216] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 34261582bc034b748bd59e47b4e2bbfa8743e31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/216] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5517d8cfd0b5955964c19df946eb62dd29e0450a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/216] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 484fb257bf5154de89c9cd0114dadb8c1943c070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/216] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8651388a51ff1e124598a51d9eeedc55bbdfcb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/216] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 20227fbc9a45c6eb39c02f4c2e77f7eb51aed715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/216] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 7124577f07879f3c23f7a8ba3cddfbf4b2d1e6b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/216] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4175b14facde26d77fb5315c2f15f46771f8a71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/216] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From d11abac48db57e6b3718a14a4a53cb1487b6d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/216] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From d7c588997769733043ff271a0132b0b1f0b600ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/216] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From e2311e4989cfb7c8e2a5e54306fb2fee719ddd67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/216] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 902789da414ff4e41a59f07be7430436eda79d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/216] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From c8f6a2b00bc16afc9be21f7cb12b12dd848f72f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/216] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 0837a44937b1ed008e63ddd664f94bbc4971238c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/216] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 87ea825e10e3d2c2702db2c99009f5cc8c85b6cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/216] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 1280a797269a3209d273710461e926ca59a0a7f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/216] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From e6511e11fe5521ac71bdb64bc3bae82b7149e52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/216] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 6a07498a80cf9e6a7a791a44a4283055ade2dd39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/216] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 84c4bdcdf18f08b5e5237e36117939473ed6b6f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/216] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6f4d62503ee8452c1737424d176b3e0942318940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/216] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 37e0c0563bc7b3d2b40596c22b6f068e0ef4f617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/216] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 436537c48f59106e7aea0c2b95868327d3bee087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/216] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a1bfe02794f6a6900fba15c99e9194a78aefc9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/216] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 69ef50c3bccae6b73278d69b5c6593ea9e788ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/216] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2e511fbc936330e8c4a8c358675d337b77d63133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/216] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 8f1bd43a30d06f42638e056414b94f785d7d25af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/216] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From c8eb18bf7463279cb66b9f92f89d3199acfe3b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/216] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 31c0f9dd89320421c7ef47fbcedb629519b90d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/216] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 114cfe72deabb443ee0f073ee17f475a2d32114a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/216] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a8b33a30069f3b777a0a4bf7cc251ef749db0558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/216] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5d7ad9608817d24391c12e51ca5255cad9c3effa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/216] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 087208b5d3301fe38819fbba4f5f2daa4baf3a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/216] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From fabe9ad0433eb760c1ae9957722a575495f2c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/216] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 820eae3a18cf33514aa7048464b11a3f3627e16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/216] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5a732f19709079252d8254053866fc6afb75d5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/216] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f7a8e549aaf7ff5f13adec4185b141d3705f6bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/216] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 3b4bdb43e9dad5a7327daa5ce3c8632d51022d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/216] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 8b9686edf0b066d14782642a614d094f6aafaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/216] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From c93caa6351b0f45f27f08237e80d1cc7761f2743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/216] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From a8a1cb036ece23b40f895a20b0faada34f9b6b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/216] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 99794b1ff40255843945db3afb4a9caed2a6de5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/216] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From d69bfd5663dc4d4d81ed92dd682acc4bf85f5d10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/216] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From d8f37e9ce0a3abc10f17b026211f02270d1f77ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/216] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1076ca4eb6bf90e55f3cc6e23a79a2b1e8ef8ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/216] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 21678947b47924eb1f0b038783f0e06cbb77022f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/216] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 73bc12862797b288e16305e393e7dfbeab25dd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/216] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 91cb4b05429dcb9833bb3dc1e6f2199495b6a5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/216] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 9f6e72eae5afd4a6ce2993be25699749734bce9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/216] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From b94119c4a6d98d4b3f1a7c423ce7453c98807e65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/216] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From dad431d9bd7a6c061bf734c96a88e5b9a8700ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/216] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From ffdfd9717ff781084a8cd54ba0b50a4264223c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/216] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 635781cfefa6b14a36f4a4ca09a33b590384ad94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/216] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 586f76fb7c6d0c779f3c092cfa025a70e16ee2a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/216] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From aef508eed5d24853b66f9398227c9be5e773db63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/216] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From fe596231aafbb6cbfdd759398f19085b8fdb5b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/216] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 07c093068c1baa4f975eef4141af9b559e0b64a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/216] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cf65838f8658e9404c4cd2f1e9ce220cf07e1284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/216] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4d7154f23089b910fec7004ca914d57efd2ea651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/216] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From e8bb3f4a9a5609f95179c60a872982ad508ea173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/216] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a8dfef28333bbbb88a10a14d6ae3520bfd31dfc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/216] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a41a16a79f8d157f8a73bda3aeaa6236d503a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/216] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 81c8b3e0a1424b1f49962d1a67244058f9cffe15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/216] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 26a5f56e1a38e62039bcb9eead2966ba25537562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/216] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 6361e13eb1e9a8c6ce26d45fc9f0421d8d7a24e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/216] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 00ab5099dc7e450321c35ad8e09eeed4816a40fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/216] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8d1e0c0620cf82299dd0b6f321a1fd45bc8a8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/216] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 248211a1e32613a5026a195adc56389e4705bce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/216] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0dc5df77f35f135cc404c3f15239a363977c9a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/216] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8ea78cc9b6c81784f12003d6b5fcd262b27ee09a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/216] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f40ced96e92e2a6ca1d7baf99d8c048a5c24c1d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/216] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d0886a7a114ed2db3bc53ee2b2bfaafe18847442 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/216] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7d0db4a07a5a0cd8625579fbfc05d184a7006317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/216] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c13c900cde17fd2b1e109b5315fe4eb665350167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/216] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 8768ae606e8775558f792c8e1192efabdd89fc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/216] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From a744f440f36a5b86380334160a50049163374594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 091/216] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 74a10be82f60d3ff87c6a9cf2d16b36c9157c5b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/216] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From a096e75eab6f8c1664316364261c3953e7798253 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 093/216] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 8cd2d6b4cb97a3ae45e10fecd35dbce098b8dff8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 094/216] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 39608eb5dd6458077f2caffd4338f00c2fa91c60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/216] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 0b9cda10636d16fd808af414e50460ef8a479bde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/216] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 558d983c69bc453d10645e8f01703a6fb10e692b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/216] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3b6c7cf891d0a35bd88185b0af5438219c8e662f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 098/216] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3b59a8a61dc8d0dbb595a190e3c86a2bcbed73c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 099/216] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 73f382856f3010d026fc20d38dd51aaeee8a6f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/216] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 21dcdbc45955dc2215104ce3909f8842fdb8bf78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/216] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 7951acdffd8022789cc958d13be934241ba0abe6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 102/216] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 9b52e6e08e6fac6e17700de23139bd40e3399121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 103/216] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 2c2d247303d8983ec86d170c37814481d23001ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/216] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f9ea6fe412da6a552a28a741c2382ab606782dcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/216] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 59916a5fb5aa861fe7be0e761da9918a1f0efd81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 106/216] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From b14953304f25eef360c7ca10055076c61701e9de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 107/216] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 9b153d6c2fd6d7dd84f7ee9ef169b0d047daf89e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 108/216] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From fe47fd6bc772e11321fa493ff672f383af0c6e12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/216] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 38884fda9d967b8ca0ab95581d2b7eb9a885e6db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 110/216] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b4d8f408f8c50222a60aaac1ea3eaaa0ea27f40f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/216] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 27b73ca7969c7a036aba665990db64fb255a8a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 112/216] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 1eff8662263a46fed33caeaaf8511962e4f6d4c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 113/216] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2f8d8f754ac2b6170afbfe45bfe0fde934e9ecba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/216] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 88d7d7f8642d74e1e2abe46d7ef6d93191d0ff99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/216] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From a548565df61ee16713ee0b1691128cb7344391e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/216] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 4393e7c5de0701750040e965f1c951dbdded41b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 117/216] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 805d62a7ac77551554703b8293aa5eb0f51942a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 118/216] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ec719bab9a5426c227931b215bb52dfffe2f8520 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/216] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 930b2002d44fdeb6f3b117e568166e661238cbb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/216] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From fee07a479f02f67b354e0415ab67432da57accec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/216] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From a8f99b982aee2910ab5b44c77d2090836f43c030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 122/216] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 9544b9c967f8bbad16f0d23a2f3dd0ca94f1a3b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 123/216] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From c374e905d593e1d05e3adde22d37cfeee573dbc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/216] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 848207a6a9267bd97c69d033c046e1d9e38c31c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/216] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From d5cacd10800af637b899b02b5e47b3fdefb19f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/216] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 37dfbec7e0c795da0d889237bb238496e5ccfbc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/216] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From af0e4f9f7ed92c7fa7a7b745d53820bf5356191c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 128/216] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From ac6a893ee271b47d1dd18c73b250f0bc7617eac2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 129/216] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 48ed6404e84a51f907ea766db6045f262e1e4da7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/216] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 6333175cde592751aaa2dfb6ad60690702899e2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/216] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 6b4df230992f2f320ac94a4e7a939d3b47069610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/216] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From bbad99c6d0f79e4f65661d8cc0be9c0e8fc7c792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/216] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 00cbd7fe5b4852bd075732c0e4f5c3ac731decc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 134/216] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 4f2f936462afc515d49f23970beacb9469d63a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 135/216] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From dcc2d499b70da01d2b3e34960745f8e252a68a75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/216] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From af28fb44f146ce3a010583a9404a875dc8444524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/216] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From cb377240ba4e09b3bbe382a260f95090a9f36f45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 138/216] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 83281d71e46bf2dcb619caa5a04ce49f5800b341 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 139/216] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 1a55fc1eed10e14d5958ad3ae1d2dbc50883d549 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/216] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 87a157d12010cd5ea1972e591ffed059caac7d1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 141/216] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From d441218812eba6fcf5bea42bf53bb8f23e3e8f19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/216] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From cb080df5d75c70371e77274cf92713e9be7fb775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/216] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 990c06f12486da2d5ced96fcba54bd6ae97c6c2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 144/216] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 18a5b06cd5562c74c867309efdf82d035dd16552 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 145/216] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6bb28a7a1859b546652c5e011997c9698ac01ee3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 146/216] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0f0639cab9c8e14967f996723c13f35531a84dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/216] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a4f8f8e3c90b984e718e1e7b03aa40f378e14d21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/216] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 58d50c49e5c72c418097e42c2e338d6db6d8d44e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/216] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b3d35c03de1d45a4c033abe50894b94009d6c5db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 150/216] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 9a9441f93b8da931d3d3cb3048792310eddb809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 151/216] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 6ea87964501a6e439689b298e4eaaf4445d417db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 152/216] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 8bd63f2d4ab1e37357ec26ae09aa0ed7b581276d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 153/216] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 68bea00c5352b863ec9df75537f680fab574f0f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/216] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8da831fcbe8370d49324874e8360ab5ded5e2a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 155/216] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7a1a79d8a926c6f4ab16b782056e4b05f1da29c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 156/216] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 07febabb8e7a3bca1790ece14465c3fb11eaac2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 157/216] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From be1b712c372005495171d86c8722fbe2fa162aaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 158/216] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From b8099ff5a0d55c087fabfe9fae547d9dd792cd11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/216] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 02d0c27b3a1d4e0e98b4f8651d92df9013ddb245 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/216] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 3f0a9a9418b3ba04414dd9cc8fdfe90b78bc5731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 161/216] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1ef69962ac9ea8e6287db3c283a58cd696d296a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 162/216] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 1acd8480dccc8ff18d4dd88b2cb967ee28fe8dbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 163/216] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 1c721e558d932a6b6699368bf4da025c2737de0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 164/216] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From a5bdd07ff004f847bff4bdc7b889fbee7c1ac32f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 165/216] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 39abdf973a434638095e2d55c1850075218127a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 166/216] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f80d63808ee40c448c0d6cddd65688426e53ad3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 167/216] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From f43ab59a0368cd9748a8e03c0c89014d2a4b8f00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 168/216] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 40f5e2aea405423fefe61bb141fb814354fc9ae7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 169/216] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 4ef1dc839868e22dfda0acbd1b8acd534e5d3278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 170/216] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 989a30c97058bdbce26a857f959e945438dbfd19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 171/216] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 639249dd1ce00a2ec6419b7b46d70ff39593f920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 172/216] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 81919e92f02263743581e0963172b2dea7cc755b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 173/216] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From aeac97336d1f6567264ba36406e1a28b9f7a49dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 174/216] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From a70c6fd3a3c32eaa6e19ab806347c2bb5fa678e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 175/216] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f8fcadc1442e96e21e5c58472cc8a418a2a2b3ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 176/216] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From c0a3211d33393a3729e60a3f455cfad5c5c3b949 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 177/216] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c3f83a10627293b6502f18f2688e70df6b155714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 178/216] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 9e4e28650bad3755915ac7ccf61bf48cf63d7f92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 179/216] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b057801853d822c47fa9d29a95c95fb5c594e6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 180/216] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From dfef8d475a4a156c02894972b727794ca33a0012 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 181/216] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 9b503d6d49e423cbbaab0fa7d749e78892c4fd36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 182/216] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From e91895eb5fa26d9093788829a56f3b5519352e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 183/216] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 87135c7733e4f33cb83a5e8e70f121019a0eb872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 184/216] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 2c9fd88af734032f288f75d935136ce944b8a109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 185/216] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From aec9a2775d342c94e23aa386c4d2ad607e01379c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 186/216] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 08988541c3d23c56d6964562af13b04f34274c46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 187/216] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 1d589a0ef1de1f5bdcfa2358ea812ce17af499f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 188/216] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From eeade07c714b9b7fd2f5e64e9ab6d5f6318bcde4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 189/216] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From dd0f9e3d03332c0c8c763bead8431843c2866f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 190/216] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 73c80284d5b66aed6a01b2937e2fcece8bd496dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 191/216] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cdd1068d3fa9c8a0ecb835830bdd345061195aae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 192/216] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From e2cb7f05bf0dcc4266b8b51a6070a225ecd821df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 193/216] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 33da76fc9297f202fb4cb4a6f0329b69ba5db421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 194/216] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 76d539cc72f3f2d24e5d289e9917d66d16296b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 195/216] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 04d45b574e2fd705ce9cebd213ba97927ae890f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 196/216] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 3da57afe5320b73c352866b5a34779d07764d0b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 197/216] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c96b05c2d85baf269e287c34899d6e5f835768af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 198/216] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b9cd9a0a4005b6a8a24602f715fed6a56d47aa40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 199/216] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 215f58dad638a722fe2d762bb8858e250c91efc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 200/216] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From ea4ce9f63e33bba123c0e48ce892855c5a2cbc0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 201/216] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 18fae37ba88722efc583f1ece606b1aefd23d76a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 202/216] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 306131d43bb9684fa67f0109d1ec4f4eb7ae51f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 203/216] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From a7f90a3fbcc65d3d56808ec4621fadead66a0d04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 204/216] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 9f7a8cad4fc68e0eb22dbed74d2603aadc1ca06c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 205/216] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 071034e7553f10866e1aa71b41a9adc748cf74c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 206/216] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 6473843f210926b4d310ffaa594ff14eaf61de3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 207/216] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 48e9c2fee8e4103601ba68d7f1843caaea5e1031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 208/216] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From e0ce4b663c1eefd06a9acce9b0d34e12c28f59ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 209/216] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 06c14e4aa4558fb4124e2cbb145fb2db0b54c3f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 210/216] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From ed579f83673b4edb89ccadd247fce57c139700cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 211/216] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 35c569629aaaf17938e72329e52533588692fe2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 212/216] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 71c6d0c5a2656600fff07c750fd05045e5aa6445 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 213/216] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From a2ea1b33cfeecf713cf50a9d1cf5b891c65413e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 214/216] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From af11cae4c02cf637356022f7fae1260c21497154 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 215/216] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From c11a6a4f72e80d9d25e744281ad283b8aab30904 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 216/216] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (16 preceding siblings ...)
  2020-08-18 16:28 ` pullmoll
@ 2020-08-18 17:05 ` pullmoll
  2020-08-18 17:22 ` pullmoll
                   ` (35 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 17:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 176337 bytes --]

From cfb7377c1d140bdf61705d8dedb3ba5161c90a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/217] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 003e1ee4b527db1647783a8a7b64f32af3616bfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/217] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0b99b046a50a05b3b7db096636060bb61016a71e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/217] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ade08825a1d3eb59656ec531544c1e7d3958478e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/217] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 3612d60078b9e81c08c54ee3dcccf85310ea6edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/217] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From d95a1370e7b96d6361af0cf272540db7e6f7dc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/217] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 877b4894f7c9303404ce2e74e4f3d7a94636a92a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/217] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 988a5969c84cbced200083c34cd870e6416e6bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/217] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 5dd816bcd275fef320970845255772371ced1003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/217] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 958f749def62a22e3a877db7052eb882044ac800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/217] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From b8b53896c6aa89dde593f6ce7273e3570b45b9ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/217] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a5a67fddf349ae1ffc42d8f3b8de1e499c1e526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/217] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From f242abfe5b795d4bce50c4a22c627f2554fb2046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/217] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From dd472fd0e6e3bbdfb0e20e0a9b541af7a1eca855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/217] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From bdfd05aebda1301db5cd2ffc7539d69238598bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/217] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 26e86c4baa1bab3104eddec09cba36d3e2e58cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/217] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c91e249ac5927019c88b42ed30259fa7212d5a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/217] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 34261582bc034b748bd59e47b4e2bbfa8743e31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/217] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5517d8cfd0b5955964c19df946eb62dd29e0450a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/217] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 484fb257bf5154de89c9cd0114dadb8c1943c070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/217] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8651388a51ff1e124598a51d9eeedc55bbdfcb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/217] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 20227fbc9a45c6eb39c02f4c2e77f7eb51aed715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/217] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 7124577f07879f3c23f7a8ba3cddfbf4b2d1e6b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/217] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4175b14facde26d77fb5315c2f15f46771f8a71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/217] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From d11abac48db57e6b3718a14a4a53cb1487b6d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/217] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From d7c588997769733043ff271a0132b0b1f0b600ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/217] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From e2311e4989cfb7c8e2a5e54306fb2fee719ddd67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/217] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 902789da414ff4e41a59f07be7430436eda79d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/217] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From c8f6a2b00bc16afc9be21f7cb12b12dd848f72f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/217] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 0837a44937b1ed008e63ddd664f94bbc4971238c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/217] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 87ea825e10e3d2c2702db2c99009f5cc8c85b6cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/217] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 1280a797269a3209d273710461e926ca59a0a7f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/217] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From e6511e11fe5521ac71bdb64bc3bae82b7149e52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/217] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 6a07498a80cf9e6a7a791a44a4283055ade2dd39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/217] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 84c4bdcdf18f08b5e5237e36117939473ed6b6f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/217] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6f4d62503ee8452c1737424d176b3e0942318940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/217] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 37e0c0563bc7b3d2b40596c22b6f068e0ef4f617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/217] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 436537c48f59106e7aea0c2b95868327d3bee087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/217] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a1bfe02794f6a6900fba15c99e9194a78aefc9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/217] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 69ef50c3bccae6b73278d69b5c6593ea9e788ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/217] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2e511fbc936330e8c4a8c358675d337b77d63133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/217] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 8f1bd43a30d06f42638e056414b94f785d7d25af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/217] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From c8eb18bf7463279cb66b9f92f89d3199acfe3b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/217] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 31c0f9dd89320421c7ef47fbcedb629519b90d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/217] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 114cfe72deabb443ee0f073ee17f475a2d32114a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/217] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a8b33a30069f3b777a0a4bf7cc251ef749db0558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/217] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5d7ad9608817d24391c12e51ca5255cad9c3effa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/217] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 087208b5d3301fe38819fbba4f5f2daa4baf3a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/217] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From fabe9ad0433eb760c1ae9957722a575495f2c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/217] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 820eae3a18cf33514aa7048464b11a3f3627e16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/217] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5a732f19709079252d8254053866fc6afb75d5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/217] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f7a8e549aaf7ff5f13adec4185b141d3705f6bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/217] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 3b4bdb43e9dad5a7327daa5ce3c8632d51022d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/217] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 8b9686edf0b066d14782642a614d094f6aafaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/217] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From c93caa6351b0f45f27f08237e80d1cc7761f2743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/217] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From a8a1cb036ece23b40f895a20b0faada34f9b6b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/217] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 99794b1ff40255843945db3afb4a9caed2a6de5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/217] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From d69bfd5663dc4d4d81ed92dd682acc4bf85f5d10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/217] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From d8f37e9ce0a3abc10f17b026211f02270d1f77ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/217] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1076ca4eb6bf90e55f3cc6e23a79a2b1e8ef8ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/217] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 21678947b47924eb1f0b038783f0e06cbb77022f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/217] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 73bc12862797b288e16305e393e7dfbeab25dd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/217] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 91cb4b05429dcb9833bb3dc1e6f2199495b6a5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/217] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 9f6e72eae5afd4a6ce2993be25699749734bce9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/217] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From b94119c4a6d98d4b3f1a7c423ce7453c98807e65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/217] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From dad431d9bd7a6c061bf734c96a88e5b9a8700ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/217] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From ffdfd9717ff781084a8cd54ba0b50a4264223c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/217] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 635781cfefa6b14a36f4a4ca09a33b590384ad94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/217] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 586f76fb7c6d0c779f3c092cfa025a70e16ee2a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/217] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From aef508eed5d24853b66f9398227c9be5e773db63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/217] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From fe596231aafbb6cbfdd759398f19085b8fdb5b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/217] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 07c093068c1baa4f975eef4141af9b559e0b64a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/217] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cf65838f8658e9404c4cd2f1e9ce220cf07e1284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/217] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4d7154f23089b910fec7004ca914d57efd2ea651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/217] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From e8bb3f4a9a5609f95179c60a872982ad508ea173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/217] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a8dfef28333bbbb88a10a14d6ae3520bfd31dfc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/217] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a41a16a79f8d157f8a73bda3aeaa6236d503a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/217] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 81c8b3e0a1424b1f49962d1a67244058f9cffe15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/217] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 26a5f56e1a38e62039bcb9eead2966ba25537562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/217] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 6361e13eb1e9a8c6ce26d45fc9f0421d8d7a24e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/217] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 00ab5099dc7e450321c35ad8e09eeed4816a40fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/217] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8d1e0c0620cf82299dd0b6f321a1fd45bc8a8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/217] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 248211a1e32613a5026a195adc56389e4705bce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/217] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0dc5df77f35f135cc404c3f15239a363977c9a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/217] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8ea78cc9b6c81784f12003d6b5fcd262b27ee09a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/217] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f40ced96e92e2a6ca1d7baf99d8c048a5c24c1d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/217] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d0886a7a114ed2db3bc53ee2b2bfaafe18847442 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/217] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7d0db4a07a5a0cd8625579fbfc05d184a7006317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/217] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c13c900cde17fd2b1e109b5315fe4eb665350167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/217] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 8768ae606e8775558f792c8e1192efabdd89fc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/217] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From a744f440f36a5b86380334160a50049163374594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 091/217] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 74a10be82f60d3ff87c6a9cf2d16b36c9157c5b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/217] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From a096e75eab6f8c1664316364261c3953e7798253 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 093/217] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 8cd2d6b4cb97a3ae45e10fecd35dbce098b8dff8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 094/217] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 39608eb5dd6458077f2caffd4338f00c2fa91c60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/217] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 0b9cda10636d16fd808af414e50460ef8a479bde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/217] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 558d983c69bc453d10645e8f01703a6fb10e692b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/217] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3b6c7cf891d0a35bd88185b0af5438219c8e662f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 098/217] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3b59a8a61dc8d0dbb595a190e3c86a2bcbed73c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 099/217] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 73f382856f3010d026fc20d38dd51aaeee8a6f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/217] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 21dcdbc45955dc2215104ce3909f8842fdb8bf78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/217] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 7951acdffd8022789cc958d13be934241ba0abe6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 102/217] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 9b52e6e08e6fac6e17700de23139bd40e3399121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 103/217] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 2c2d247303d8983ec86d170c37814481d23001ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/217] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f9ea6fe412da6a552a28a741c2382ab606782dcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/217] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 59916a5fb5aa861fe7be0e761da9918a1f0efd81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 106/217] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From b14953304f25eef360c7ca10055076c61701e9de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 107/217] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 9b153d6c2fd6d7dd84f7ee9ef169b0d047daf89e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 108/217] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From fe47fd6bc772e11321fa493ff672f383af0c6e12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/217] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 38884fda9d967b8ca0ab95581d2b7eb9a885e6db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 110/217] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b4d8f408f8c50222a60aaac1ea3eaaa0ea27f40f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/217] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 27b73ca7969c7a036aba665990db64fb255a8a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 112/217] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 1eff8662263a46fed33caeaaf8511962e4f6d4c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 113/217] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2f8d8f754ac2b6170afbfe45bfe0fde934e9ecba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/217] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 88d7d7f8642d74e1e2abe46d7ef6d93191d0ff99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/217] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From a548565df61ee16713ee0b1691128cb7344391e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/217] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 4393e7c5de0701750040e965f1c951dbdded41b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 117/217] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 805d62a7ac77551554703b8293aa5eb0f51942a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 118/217] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ec719bab9a5426c227931b215bb52dfffe2f8520 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/217] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 930b2002d44fdeb6f3b117e568166e661238cbb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/217] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From fee07a479f02f67b354e0415ab67432da57accec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/217] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From a8f99b982aee2910ab5b44c77d2090836f43c030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 122/217] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 9544b9c967f8bbad16f0d23a2f3dd0ca94f1a3b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 123/217] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From c374e905d593e1d05e3adde22d37cfeee573dbc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/217] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 848207a6a9267bd97c69d033c046e1d9e38c31c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/217] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From d5cacd10800af637b899b02b5e47b3fdefb19f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/217] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 37dfbec7e0c795da0d889237bb238496e5ccfbc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/217] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From af0e4f9f7ed92c7fa7a7b745d53820bf5356191c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 128/217] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From ac6a893ee271b47d1dd18c73b250f0bc7617eac2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 129/217] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 48ed6404e84a51f907ea766db6045f262e1e4da7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/217] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 6333175cde592751aaa2dfb6ad60690702899e2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/217] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 6b4df230992f2f320ac94a4e7a939d3b47069610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/217] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From bbad99c6d0f79e4f65661d8cc0be9c0e8fc7c792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/217] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 00cbd7fe5b4852bd075732c0e4f5c3ac731decc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 134/217] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 4f2f936462afc515d49f23970beacb9469d63a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 135/217] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From dcc2d499b70da01d2b3e34960745f8e252a68a75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/217] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From af28fb44f146ce3a010583a9404a875dc8444524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/217] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From cb377240ba4e09b3bbe382a260f95090a9f36f45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 138/217] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 83281d71e46bf2dcb619caa5a04ce49f5800b341 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 139/217] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 1a55fc1eed10e14d5958ad3ae1d2dbc50883d549 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/217] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 87a157d12010cd5ea1972e591ffed059caac7d1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 141/217] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From d441218812eba6fcf5bea42bf53bb8f23e3e8f19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/217] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From cb080df5d75c70371e77274cf92713e9be7fb775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/217] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 990c06f12486da2d5ced96fcba54bd6ae97c6c2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 144/217] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 18a5b06cd5562c74c867309efdf82d035dd16552 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 145/217] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6bb28a7a1859b546652c5e011997c9698ac01ee3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 146/217] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0f0639cab9c8e14967f996723c13f35531a84dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/217] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a4f8f8e3c90b984e718e1e7b03aa40f378e14d21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/217] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 58d50c49e5c72c418097e42c2e338d6db6d8d44e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/217] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b3d35c03de1d45a4c033abe50894b94009d6c5db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 150/217] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 9a9441f93b8da931d3d3cb3048792310eddb809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 151/217] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 6ea87964501a6e439689b298e4eaaf4445d417db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 152/217] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 8bd63f2d4ab1e37357ec26ae09aa0ed7b581276d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 153/217] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 68bea00c5352b863ec9df75537f680fab574f0f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/217] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8da831fcbe8370d49324874e8360ab5ded5e2a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 155/217] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7a1a79d8a926c6f4ab16b782056e4b05f1da29c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 156/217] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 07febabb8e7a3bca1790ece14465c3fb11eaac2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 157/217] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From be1b712c372005495171d86c8722fbe2fa162aaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 158/217] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From b8099ff5a0d55c087fabfe9fae547d9dd792cd11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/217] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 02d0c27b3a1d4e0e98b4f8651d92df9013ddb245 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/217] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 3f0a9a9418b3ba04414dd9cc8fdfe90b78bc5731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 161/217] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1ef69962ac9ea8e6287db3c283a58cd696d296a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 162/217] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 1acd8480dccc8ff18d4dd88b2cb967ee28fe8dbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 163/217] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 1c721e558d932a6b6699368bf4da025c2737de0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 164/217] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From a5bdd07ff004f847bff4bdc7b889fbee7c1ac32f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 165/217] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 39abdf973a434638095e2d55c1850075218127a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 166/217] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f80d63808ee40c448c0d6cddd65688426e53ad3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 167/217] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From f43ab59a0368cd9748a8e03c0c89014d2a4b8f00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 168/217] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 40f5e2aea405423fefe61bb141fb814354fc9ae7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 169/217] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 4ef1dc839868e22dfda0acbd1b8acd534e5d3278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 170/217] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 989a30c97058bdbce26a857f959e945438dbfd19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 171/217] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 639249dd1ce00a2ec6419b7b46d70ff39593f920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 172/217] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 81919e92f02263743581e0963172b2dea7cc755b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 173/217] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From aeac97336d1f6567264ba36406e1a28b9f7a49dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 174/217] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From a70c6fd3a3c32eaa6e19ab806347c2bb5fa678e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 175/217] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f8fcadc1442e96e21e5c58472cc8a418a2a2b3ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 176/217] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From c0a3211d33393a3729e60a3f455cfad5c5c3b949 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 177/217] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c3f83a10627293b6502f18f2688e70df6b155714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 178/217] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 9e4e28650bad3755915ac7ccf61bf48cf63d7f92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 179/217] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b057801853d822c47fa9d29a95c95fb5c594e6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 180/217] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From dfef8d475a4a156c02894972b727794ca33a0012 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 181/217] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 9b503d6d49e423cbbaab0fa7d749e78892c4fd36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 182/217] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From e91895eb5fa26d9093788829a56f3b5519352e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 183/217] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 87135c7733e4f33cb83a5e8e70f121019a0eb872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 184/217] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 2c9fd88af734032f288f75d935136ce944b8a109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 185/217] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From aec9a2775d342c94e23aa386c4d2ad607e01379c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 186/217] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 08988541c3d23c56d6964562af13b04f34274c46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 187/217] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 1d589a0ef1de1f5bdcfa2358ea812ce17af499f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 188/217] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From eeade07c714b9b7fd2f5e64e9ab6d5f6318bcde4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 189/217] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From dd0f9e3d03332c0c8c763bead8431843c2866f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 190/217] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 73c80284d5b66aed6a01b2937e2fcece8bd496dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 191/217] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cdd1068d3fa9c8a0ecb835830bdd345061195aae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 192/217] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From e2cb7f05bf0dcc4266b8b51a6070a225ecd821df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 193/217] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 33da76fc9297f202fb4cb4a6f0329b69ba5db421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 194/217] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 76d539cc72f3f2d24e5d289e9917d66d16296b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 195/217] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 04d45b574e2fd705ce9cebd213ba97927ae890f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 196/217] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 3da57afe5320b73c352866b5a34779d07764d0b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 197/217] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c96b05c2d85baf269e287c34899d6e5f835768af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 198/217] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b9cd9a0a4005b6a8a24602f715fed6a56d47aa40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 199/217] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 215f58dad638a722fe2d762bb8858e250c91efc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 200/217] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From ea4ce9f63e33bba123c0e48ce892855c5a2cbc0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 201/217] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 18fae37ba88722efc583f1ece606b1aefd23d76a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 202/217] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 306131d43bb9684fa67f0109d1ec4f4eb7ae51f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 203/217] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From a7f90a3fbcc65d3d56808ec4621fadead66a0d04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 204/217] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 9f7a8cad4fc68e0eb22dbed74d2603aadc1ca06c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 205/217] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 071034e7553f10866e1aa71b41a9adc748cf74c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 206/217] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 6473843f210926b4d310ffaa594ff14eaf61de3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 207/217] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 48e9c2fee8e4103601ba68d7f1843caaea5e1031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 208/217] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From e0ce4b663c1eefd06a9acce9b0d34e12c28f59ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 209/217] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 06c14e4aa4558fb4124e2cbb145fb2db0b54c3f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 210/217] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From ed579f83673b4edb89ccadd247fce57c139700cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 211/217] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 35c569629aaaf17938e72329e52533588692fe2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 212/217] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 71c6d0c5a2656600fff07c750fd05045e5aa6445 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 213/217] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From a2ea1b33cfeecf713cf50a9d1cf5b891c65413e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 214/217] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From af11cae4c02cf637356022f7fae1260c21497154 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 215/217] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From c11a6a4f72e80d9d25e744281ad283b8aab30904 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 216/217] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From cbe1c40a758118a4994856eb06c3d8157e0d17a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 217/217] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (17 preceding siblings ...)
  2020-08-18 17:05 ` pullmoll
@ 2020-08-18 17:22 ` pullmoll
  2020-08-18 17:42 ` pullmoll
                   ` (34 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 17:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 177059 bytes --]

From cfb7377c1d140bdf61705d8dedb3ba5161c90a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/218] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 003e1ee4b527db1647783a8a7b64f32af3616bfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/218] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0b99b046a50a05b3b7db096636060bb61016a71e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/218] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ade08825a1d3eb59656ec531544c1e7d3958478e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/218] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 3612d60078b9e81c08c54ee3dcccf85310ea6edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/218] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From d95a1370e7b96d6361af0cf272540db7e6f7dc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/218] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 877b4894f7c9303404ce2e74e4f3d7a94636a92a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/218] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 988a5969c84cbced200083c34cd870e6416e6bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/218] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 5dd816bcd275fef320970845255772371ced1003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/218] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 958f749def62a22e3a877db7052eb882044ac800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/218] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From b8b53896c6aa89dde593f6ce7273e3570b45b9ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/218] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a5a67fddf349ae1ffc42d8f3b8de1e499c1e526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/218] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From f242abfe5b795d4bce50c4a22c627f2554fb2046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/218] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From dd472fd0e6e3bbdfb0e20e0a9b541af7a1eca855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/218] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From bdfd05aebda1301db5cd2ffc7539d69238598bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/218] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 26e86c4baa1bab3104eddec09cba36d3e2e58cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/218] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c91e249ac5927019c88b42ed30259fa7212d5a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/218] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 34261582bc034b748bd59e47b4e2bbfa8743e31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/218] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5517d8cfd0b5955964c19df946eb62dd29e0450a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/218] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 484fb257bf5154de89c9cd0114dadb8c1943c070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/218] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8651388a51ff1e124598a51d9eeedc55bbdfcb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/218] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 20227fbc9a45c6eb39c02f4c2e77f7eb51aed715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/218] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 7124577f07879f3c23f7a8ba3cddfbf4b2d1e6b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/218] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4175b14facde26d77fb5315c2f15f46771f8a71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/218] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From d11abac48db57e6b3718a14a4a53cb1487b6d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/218] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From d7c588997769733043ff271a0132b0b1f0b600ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/218] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From e2311e4989cfb7c8e2a5e54306fb2fee719ddd67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/218] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 902789da414ff4e41a59f07be7430436eda79d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/218] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From c8f6a2b00bc16afc9be21f7cb12b12dd848f72f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/218] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 0837a44937b1ed008e63ddd664f94bbc4971238c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/218] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 87ea825e10e3d2c2702db2c99009f5cc8c85b6cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/218] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 1280a797269a3209d273710461e926ca59a0a7f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/218] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From e6511e11fe5521ac71bdb64bc3bae82b7149e52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/218] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 6a07498a80cf9e6a7a791a44a4283055ade2dd39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/218] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 84c4bdcdf18f08b5e5237e36117939473ed6b6f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/218] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6f4d62503ee8452c1737424d176b3e0942318940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/218] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 37e0c0563bc7b3d2b40596c22b6f068e0ef4f617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/218] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 436537c48f59106e7aea0c2b95868327d3bee087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/218] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a1bfe02794f6a6900fba15c99e9194a78aefc9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/218] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 69ef50c3bccae6b73278d69b5c6593ea9e788ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/218] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2e511fbc936330e8c4a8c358675d337b77d63133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/218] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 8f1bd43a30d06f42638e056414b94f785d7d25af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/218] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From c8eb18bf7463279cb66b9f92f89d3199acfe3b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/218] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 31c0f9dd89320421c7ef47fbcedb629519b90d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/218] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 114cfe72deabb443ee0f073ee17f475a2d32114a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/218] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a8b33a30069f3b777a0a4bf7cc251ef749db0558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/218] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5d7ad9608817d24391c12e51ca5255cad9c3effa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/218] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 087208b5d3301fe38819fbba4f5f2daa4baf3a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/218] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From fabe9ad0433eb760c1ae9957722a575495f2c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/218] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 820eae3a18cf33514aa7048464b11a3f3627e16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/218] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5a732f19709079252d8254053866fc6afb75d5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/218] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f7a8e549aaf7ff5f13adec4185b141d3705f6bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/218] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 3b4bdb43e9dad5a7327daa5ce3c8632d51022d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/218] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 8b9686edf0b066d14782642a614d094f6aafaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/218] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From c93caa6351b0f45f27f08237e80d1cc7761f2743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/218] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From a8a1cb036ece23b40f895a20b0faada34f9b6b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/218] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 99794b1ff40255843945db3afb4a9caed2a6de5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/218] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From d69bfd5663dc4d4d81ed92dd682acc4bf85f5d10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/218] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From d8f37e9ce0a3abc10f17b026211f02270d1f77ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/218] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1076ca4eb6bf90e55f3cc6e23a79a2b1e8ef8ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/218] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 21678947b47924eb1f0b038783f0e06cbb77022f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/218] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 73bc12862797b288e16305e393e7dfbeab25dd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/218] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 91cb4b05429dcb9833bb3dc1e6f2199495b6a5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/218] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 9f6e72eae5afd4a6ce2993be25699749734bce9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/218] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From b94119c4a6d98d4b3f1a7c423ce7453c98807e65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/218] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From dad431d9bd7a6c061bf734c96a88e5b9a8700ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/218] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From ffdfd9717ff781084a8cd54ba0b50a4264223c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/218] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 635781cfefa6b14a36f4a4ca09a33b590384ad94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/218] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 586f76fb7c6d0c779f3c092cfa025a70e16ee2a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/218] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From aef508eed5d24853b66f9398227c9be5e773db63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/218] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From fe596231aafbb6cbfdd759398f19085b8fdb5b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/218] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 07c093068c1baa4f975eef4141af9b559e0b64a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/218] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cf65838f8658e9404c4cd2f1e9ce220cf07e1284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/218] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4d7154f23089b910fec7004ca914d57efd2ea651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/218] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From e8bb3f4a9a5609f95179c60a872982ad508ea173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/218] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a8dfef28333bbbb88a10a14d6ae3520bfd31dfc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/218] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a41a16a79f8d157f8a73bda3aeaa6236d503a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/218] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 81c8b3e0a1424b1f49962d1a67244058f9cffe15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/218] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 26a5f56e1a38e62039bcb9eead2966ba25537562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/218] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 6361e13eb1e9a8c6ce26d45fc9f0421d8d7a24e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/218] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 00ab5099dc7e450321c35ad8e09eeed4816a40fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/218] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8d1e0c0620cf82299dd0b6f321a1fd45bc8a8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/218] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 248211a1e32613a5026a195adc56389e4705bce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/218] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0dc5df77f35f135cc404c3f15239a363977c9a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/218] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8ea78cc9b6c81784f12003d6b5fcd262b27ee09a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/218] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f40ced96e92e2a6ca1d7baf99d8c048a5c24c1d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/218] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d0886a7a114ed2db3bc53ee2b2bfaafe18847442 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/218] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7d0db4a07a5a0cd8625579fbfc05d184a7006317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/218] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c13c900cde17fd2b1e109b5315fe4eb665350167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/218] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 8768ae606e8775558f792c8e1192efabdd89fc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/218] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From a744f440f36a5b86380334160a50049163374594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 091/218] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 74a10be82f60d3ff87c6a9cf2d16b36c9157c5b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/218] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From a096e75eab6f8c1664316364261c3953e7798253 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 093/218] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 8cd2d6b4cb97a3ae45e10fecd35dbce098b8dff8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 094/218] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 39608eb5dd6458077f2caffd4338f00c2fa91c60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/218] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 0b9cda10636d16fd808af414e50460ef8a479bde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/218] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 558d983c69bc453d10645e8f01703a6fb10e692b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/218] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3b6c7cf891d0a35bd88185b0af5438219c8e662f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 098/218] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3b59a8a61dc8d0dbb595a190e3c86a2bcbed73c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 099/218] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 73f382856f3010d026fc20d38dd51aaeee8a6f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/218] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 21dcdbc45955dc2215104ce3909f8842fdb8bf78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/218] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 7951acdffd8022789cc958d13be934241ba0abe6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 102/218] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 9b52e6e08e6fac6e17700de23139bd40e3399121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 103/218] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 2c2d247303d8983ec86d170c37814481d23001ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/218] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f9ea6fe412da6a552a28a741c2382ab606782dcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/218] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 59916a5fb5aa861fe7be0e761da9918a1f0efd81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 106/218] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From b14953304f25eef360c7ca10055076c61701e9de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 107/218] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 9b153d6c2fd6d7dd84f7ee9ef169b0d047daf89e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 108/218] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From fe47fd6bc772e11321fa493ff672f383af0c6e12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/218] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 38884fda9d967b8ca0ab95581d2b7eb9a885e6db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 110/218] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b4d8f408f8c50222a60aaac1ea3eaaa0ea27f40f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/218] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 27b73ca7969c7a036aba665990db64fb255a8a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 112/218] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 1eff8662263a46fed33caeaaf8511962e4f6d4c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 113/218] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2f8d8f754ac2b6170afbfe45bfe0fde934e9ecba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/218] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 88d7d7f8642d74e1e2abe46d7ef6d93191d0ff99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/218] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From a548565df61ee16713ee0b1691128cb7344391e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/218] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 4393e7c5de0701750040e965f1c951dbdded41b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 117/218] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 805d62a7ac77551554703b8293aa5eb0f51942a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 118/218] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ec719bab9a5426c227931b215bb52dfffe2f8520 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/218] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 930b2002d44fdeb6f3b117e568166e661238cbb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/218] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From fee07a479f02f67b354e0415ab67432da57accec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/218] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From a8f99b982aee2910ab5b44c77d2090836f43c030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 122/218] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 9544b9c967f8bbad16f0d23a2f3dd0ca94f1a3b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 123/218] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From c374e905d593e1d05e3adde22d37cfeee573dbc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/218] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 848207a6a9267bd97c69d033c046e1d9e38c31c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/218] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From d5cacd10800af637b899b02b5e47b3fdefb19f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/218] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 37dfbec7e0c795da0d889237bb238496e5ccfbc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/218] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From af0e4f9f7ed92c7fa7a7b745d53820bf5356191c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 128/218] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From ac6a893ee271b47d1dd18c73b250f0bc7617eac2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 129/218] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 48ed6404e84a51f907ea766db6045f262e1e4da7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/218] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 6333175cde592751aaa2dfb6ad60690702899e2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/218] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 6b4df230992f2f320ac94a4e7a939d3b47069610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/218] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From bbad99c6d0f79e4f65661d8cc0be9c0e8fc7c792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/218] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 00cbd7fe5b4852bd075732c0e4f5c3ac731decc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 134/218] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 4f2f936462afc515d49f23970beacb9469d63a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 135/218] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From dcc2d499b70da01d2b3e34960745f8e252a68a75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/218] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From af28fb44f146ce3a010583a9404a875dc8444524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/218] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From cb377240ba4e09b3bbe382a260f95090a9f36f45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 138/218] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 83281d71e46bf2dcb619caa5a04ce49f5800b341 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 139/218] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 1a55fc1eed10e14d5958ad3ae1d2dbc50883d549 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/218] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 87a157d12010cd5ea1972e591ffed059caac7d1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 141/218] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From d441218812eba6fcf5bea42bf53bb8f23e3e8f19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/218] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From cb080df5d75c70371e77274cf92713e9be7fb775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/218] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 990c06f12486da2d5ced96fcba54bd6ae97c6c2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 144/218] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 18a5b06cd5562c74c867309efdf82d035dd16552 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 145/218] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6bb28a7a1859b546652c5e011997c9698ac01ee3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 146/218] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0f0639cab9c8e14967f996723c13f35531a84dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/218] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a4f8f8e3c90b984e718e1e7b03aa40f378e14d21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/218] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 58d50c49e5c72c418097e42c2e338d6db6d8d44e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/218] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b3d35c03de1d45a4c033abe50894b94009d6c5db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 150/218] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 9a9441f93b8da931d3d3cb3048792310eddb809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 151/218] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 6ea87964501a6e439689b298e4eaaf4445d417db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 152/218] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 8bd63f2d4ab1e37357ec26ae09aa0ed7b581276d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 153/218] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 68bea00c5352b863ec9df75537f680fab574f0f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/218] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8da831fcbe8370d49324874e8360ab5ded5e2a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 155/218] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7a1a79d8a926c6f4ab16b782056e4b05f1da29c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 156/218] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 07febabb8e7a3bca1790ece14465c3fb11eaac2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 157/218] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From be1b712c372005495171d86c8722fbe2fa162aaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 158/218] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From b8099ff5a0d55c087fabfe9fae547d9dd792cd11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/218] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 02d0c27b3a1d4e0e98b4f8651d92df9013ddb245 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/218] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 3f0a9a9418b3ba04414dd9cc8fdfe90b78bc5731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 161/218] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1ef69962ac9ea8e6287db3c283a58cd696d296a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 162/218] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 1acd8480dccc8ff18d4dd88b2cb967ee28fe8dbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 163/218] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 1c721e558d932a6b6699368bf4da025c2737de0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 164/218] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From a5bdd07ff004f847bff4bdc7b889fbee7c1ac32f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 165/218] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 39abdf973a434638095e2d55c1850075218127a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 166/218] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f80d63808ee40c448c0d6cddd65688426e53ad3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 167/218] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From f43ab59a0368cd9748a8e03c0c89014d2a4b8f00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 168/218] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 40f5e2aea405423fefe61bb141fb814354fc9ae7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 169/218] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 4ef1dc839868e22dfda0acbd1b8acd534e5d3278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 170/218] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 989a30c97058bdbce26a857f959e945438dbfd19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 171/218] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 639249dd1ce00a2ec6419b7b46d70ff39593f920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 172/218] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 81919e92f02263743581e0963172b2dea7cc755b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 173/218] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From aeac97336d1f6567264ba36406e1a28b9f7a49dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 174/218] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From a70c6fd3a3c32eaa6e19ab806347c2bb5fa678e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 175/218] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f8fcadc1442e96e21e5c58472cc8a418a2a2b3ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 176/218] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From c0a3211d33393a3729e60a3f455cfad5c5c3b949 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 177/218] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c3f83a10627293b6502f18f2688e70df6b155714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 178/218] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 9e4e28650bad3755915ac7ccf61bf48cf63d7f92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 179/218] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b057801853d822c47fa9d29a95c95fb5c594e6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 180/218] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From dfef8d475a4a156c02894972b727794ca33a0012 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 181/218] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 9b503d6d49e423cbbaab0fa7d749e78892c4fd36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 182/218] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From e91895eb5fa26d9093788829a56f3b5519352e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 183/218] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 87135c7733e4f33cb83a5e8e70f121019a0eb872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 184/218] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 2c9fd88af734032f288f75d935136ce944b8a109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 185/218] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From aec9a2775d342c94e23aa386c4d2ad607e01379c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 186/218] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 08988541c3d23c56d6964562af13b04f34274c46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 187/218] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 1d589a0ef1de1f5bdcfa2358ea812ce17af499f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 188/218] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From eeade07c714b9b7fd2f5e64e9ab6d5f6318bcde4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 189/218] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From dd0f9e3d03332c0c8c763bead8431843c2866f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 190/218] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 73c80284d5b66aed6a01b2937e2fcece8bd496dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 191/218] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cdd1068d3fa9c8a0ecb835830bdd345061195aae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 192/218] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From e2cb7f05bf0dcc4266b8b51a6070a225ecd821df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 193/218] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 33da76fc9297f202fb4cb4a6f0329b69ba5db421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 194/218] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 76d539cc72f3f2d24e5d289e9917d66d16296b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 195/218] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 04d45b574e2fd705ce9cebd213ba97927ae890f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 196/218] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 3da57afe5320b73c352866b5a34779d07764d0b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 197/218] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c96b05c2d85baf269e287c34899d6e5f835768af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 198/218] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b9cd9a0a4005b6a8a24602f715fed6a56d47aa40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 199/218] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 215f58dad638a722fe2d762bb8858e250c91efc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 200/218] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From ea4ce9f63e33bba123c0e48ce892855c5a2cbc0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 201/218] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 18fae37ba88722efc583f1ece606b1aefd23d76a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 202/218] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 306131d43bb9684fa67f0109d1ec4f4eb7ae51f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 203/218] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From a7f90a3fbcc65d3d56808ec4621fadead66a0d04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 204/218] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 9f7a8cad4fc68e0eb22dbed74d2603aadc1ca06c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 205/218] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 071034e7553f10866e1aa71b41a9adc748cf74c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 206/218] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 6473843f210926b4d310ffaa594ff14eaf61de3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 207/218] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 48e9c2fee8e4103601ba68d7f1843caaea5e1031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 208/218] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From e0ce4b663c1eefd06a9acce9b0d34e12c28f59ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 209/218] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 06c14e4aa4558fb4124e2cbb145fb2db0b54c3f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 210/218] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From ed579f83673b4edb89ccadd247fce57c139700cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 211/218] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 35c569629aaaf17938e72329e52533588692fe2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 212/218] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 71c6d0c5a2656600fff07c750fd05045e5aa6445 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 213/218] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From a2ea1b33cfeecf713cf50a9d1cf5b891c65413e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 214/218] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From af11cae4c02cf637356022f7fae1260c21497154 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 215/218] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From c11a6a4f72e80d9d25e744281ad283b8aab30904 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 216/218] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From cbe1c40a758118a4994856eb06c3d8157e0d17a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 217/218] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 9594bc73813c532214eb9aff60a48693a9f867e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 218/218] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (18 preceding siblings ...)
  2020-08-18 17:22 ` pullmoll
@ 2020-08-18 17:42 ` pullmoll
  2020-08-18 19:54 ` pullmoll
                   ` (33 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 17:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 180119 bytes --]

From cfb7377c1d140bdf61705d8dedb3ba5161c90a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/222] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 003e1ee4b527db1647783a8a7b64f32af3616bfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/222] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0b99b046a50a05b3b7db096636060bb61016a71e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/222] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ade08825a1d3eb59656ec531544c1e7d3958478e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/222] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 3612d60078b9e81c08c54ee3dcccf85310ea6edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/222] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From d95a1370e7b96d6361af0cf272540db7e6f7dc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/222] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 877b4894f7c9303404ce2e74e4f3d7a94636a92a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/222] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 988a5969c84cbced200083c34cd870e6416e6bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/222] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 5dd816bcd275fef320970845255772371ced1003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/222] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 958f749def62a22e3a877db7052eb882044ac800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/222] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From b8b53896c6aa89dde593f6ce7273e3570b45b9ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/222] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a5a67fddf349ae1ffc42d8f3b8de1e499c1e526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/222] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From f242abfe5b795d4bce50c4a22c627f2554fb2046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/222] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From dd472fd0e6e3bbdfb0e20e0a9b541af7a1eca855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/222] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From bdfd05aebda1301db5cd2ffc7539d69238598bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/222] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 26e86c4baa1bab3104eddec09cba36d3e2e58cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/222] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c91e249ac5927019c88b42ed30259fa7212d5a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/222] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 34261582bc034b748bd59e47b4e2bbfa8743e31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/222] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5517d8cfd0b5955964c19df946eb62dd29e0450a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/222] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 484fb257bf5154de89c9cd0114dadb8c1943c070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/222] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8651388a51ff1e124598a51d9eeedc55bbdfcb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/222] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 20227fbc9a45c6eb39c02f4c2e77f7eb51aed715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/222] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 7124577f07879f3c23f7a8ba3cddfbf4b2d1e6b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/222] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4175b14facde26d77fb5315c2f15f46771f8a71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/222] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From d11abac48db57e6b3718a14a4a53cb1487b6d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/222] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From d7c588997769733043ff271a0132b0b1f0b600ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/222] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From e2311e4989cfb7c8e2a5e54306fb2fee719ddd67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/222] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 902789da414ff4e41a59f07be7430436eda79d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/222] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From c8f6a2b00bc16afc9be21f7cb12b12dd848f72f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/222] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 0837a44937b1ed008e63ddd664f94bbc4971238c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/222] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 87ea825e10e3d2c2702db2c99009f5cc8c85b6cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/222] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 1280a797269a3209d273710461e926ca59a0a7f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/222] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From e6511e11fe5521ac71bdb64bc3bae82b7149e52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/222] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 6a07498a80cf9e6a7a791a44a4283055ade2dd39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/222] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 84c4bdcdf18f08b5e5237e36117939473ed6b6f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/222] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6f4d62503ee8452c1737424d176b3e0942318940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/222] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 37e0c0563bc7b3d2b40596c22b6f068e0ef4f617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/222] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 436537c48f59106e7aea0c2b95868327d3bee087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/222] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a1bfe02794f6a6900fba15c99e9194a78aefc9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/222] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 69ef50c3bccae6b73278d69b5c6593ea9e788ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/222] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2e511fbc936330e8c4a8c358675d337b77d63133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/222] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 8f1bd43a30d06f42638e056414b94f785d7d25af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/222] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From c8eb18bf7463279cb66b9f92f89d3199acfe3b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/222] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 31c0f9dd89320421c7ef47fbcedb629519b90d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/222] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 114cfe72deabb443ee0f073ee17f475a2d32114a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/222] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a8b33a30069f3b777a0a4bf7cc251ef749db0558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/222] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5d7ad9608817d24391c12e51ca5255cad9c3effa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/222] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 087208b5d3301fe38819fbba4f5f2daa4baf3a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/222] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From fabe9ad0433eb760c1ae9957722a575495f2c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/222] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 820eae3a18cf33514aa7048464b11a3f3627e16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/222] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5a732f19709079252d8254053866fc6afb75d5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/222] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f7a8e549aaf7ff5f13adec4185b141d3705f6bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/222] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 3b4bdb43e9dad5a7327daa5ce3c8632d51022d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/222] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 8b9686edf0b066d14782642a614d094f6aafaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/222] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From c93caa6351b0f45f27f08237e80d1cc7761f2743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/222] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From a8a1cb036ece23b40f895a20b0faada34f9b6b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/222] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 99794b1ff40255843945db3afb4a9caed2a6de5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/222] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From d69bfd5663dc4d4d81ed92dd682acc4bf85f5d10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/222] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From d8f37e9ce0a3abc10f17b026211f02270d1f77ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/222] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1076ca4eb6bf90e55f3cc6e23a79a2b1e8ef8ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/222] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 21678947b47924eb1f0b038783f0e06cbb77022f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/222] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 73bc12862797b288e16305e393e7dfbeab25dd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/222] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 91cb4b05429dcb9833bb3dc1e6f2199495b6a5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/222] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 9f6e72eae5afd4a6ce2993be25699749734bce9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/222] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From b94119c4a6d98d4b3f1a7c423ce7453c98807e65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/222] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From dad431d9bd7a6c061bf734c96a88e5b9a8700ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/222] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From ffdfd9717ff781084a8cd54ba0b50a4264223c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/222] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 635781cfefa6b14a36f4a4ca09a33b590384ad94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/222] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 586f76fb7c6d0c779f3c092cfa025a70e16ee2a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/222] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From aef508eed5d24853b66f9398227c9be5e773db63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/222] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From fe596231aafbb6cbfdd759398f19085b8fdb5b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/222] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 07c093068c1baa4f975eef4141af9b559e0b64a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/222] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cf65838f8658e9404c4cd2f1e9ce220cf07e1284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/222] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4d7154f23089b910fec7004ca914d57efd2ea651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/222] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From e8bb3f4a9a5609f95179c60a872982ad508ea173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/222] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a8dfef28333bbbb88a10a14d6ae3520bfd31dfc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/222] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a41a16a79f8d157f8a73bda3aeaa6236d503a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/222] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 81c8b3e0a1424b1f49962d1a67244058f9cffe15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/222] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 26a5f56e1a38e62039bcb9eead2966ba25537562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/222] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 6361e13eb1e9a8c6ce26d45fc9f0421d8d7a24e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/222] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 00ab5099dc7e450321c35ad8e09eeed4816a40fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/222] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8d1e0c0620cf82299dd0b6f321a1fd45bc8a8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/222] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 248211a1e32613a5026a195adc56389e4705bce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/222] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0dc5df77f35f135cc404c3f15239a363977c9a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/222] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8ea78cc9b6c81784f12003d6b5fcd262b27ee09a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/222] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f40ced96e92e2a6ca1d7baf99d8c048a5c24c1d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/222] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d0886a7a114ed2db3bc53ee2b2bfaafe18847442 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/222] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7d0db4a07a5a0cd8625579fbfc05d184a7006317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/222] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c13c900cde17fd2b1e109b5315fe4eb665350167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/222] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 8768ae606e8775558f792c8e1192efabdd89fc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/222] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From a744f440f36a5b86380334160a50049163374594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 091/222] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 74a10be82f60d3ff87c6a9cf2d16b36c9157c5b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/222] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From a096e75eab6f8c1664316364261c3953e7798253 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 093/222] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 8cd2d6b4cb97a3ae45e10fecd35dbce098b8dff8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 094/222] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 39608eb5dd6458077f2caffd4338f00c2fa91c60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/222] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 0b9cda10636d16fd808af414e50460ef8a479bde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/222] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 558d983c69bc453d10645e8f01703a6fb10e692b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/222] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3b6c7cf891d0a35bd88185b0af5438219c8e662f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 098/222] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3b59a8a61dc8d0dbb595a190e3c86a2bcbed73c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 099/222] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 73f382856f3010d026fc20d38dd51aaeee8a6f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/222] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 21dcdbc45955dc2215104ce3909f8842fdb8bf78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/222] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 7951acdffd8022789cc958d13be934241ba0abe6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 102/222] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 9b52e6e08e6fac6e17700de23139bd40e3399121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 103/222] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 2c2d247303d8983ec86d170c37814481d23001ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/222] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f9ea6fe412da6a552a28a741c2382ab606782dcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/222] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 59916a5fb5aa861fe7be0e761da9918a1f0efd81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 106/222] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From b14953304f25eef360c7ca10055076c61701e9de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 107/222] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 9b153d6c2fd6d7dd84f7ee9ef169b0d047daf89e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 108/222] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From fe47fd6bc772e11321fa493ff672f383af0c6e12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/222] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 38884fda9d967b8ca0ab95581d2b7eb9a885e6db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 110/222] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b4d8f408f8c50222a60aaac1ea3eaaa0ea27f40f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/222] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 27b73ca7969c7a036aba665990db64fb255a8a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 112/222] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 1eff8662263a46fed33caeaaf8511962e4f6d4c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 113/222] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2f8d8f754ac2b6170afbfe45bfe0fde934e9ecba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/222] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 88d7d7f8642d74e1e2abe46d7ef6d93191d0ff99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/222] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From a548565df61ee16713ee0b1691128cb7344391e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/222] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 4393e7c5de0701750040e965f1c951dbdded41b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 117/222] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 805d62a7ac77551554703b8293aa5eb0f51942a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 118/222] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ec719bab9a5426c227931b215bb52dfffe2f8520 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/222] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 930b2002d44fdeb6f3b117e568166e661238cbb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/222] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From fee07a479f02f67b354e0415ab67432da57accec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/222] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From a8f99b982aee2910ab5b44c77d2090836f43c030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 122/222] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 9544b9c967f8bbad16f0d23a2f3dd0ca94f1a3b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 123/222] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From c374e905d593e1d05e3adde22d37cfeee573dbc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/222] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 848207a6a9267bd97c69d033c046e1d9e38c31c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/222] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From d5cacd10800af637b899b02b5e47b3fdefb19f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/222] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 37dfbec7e0c795da0d889237bb238496e5ccfbc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/222] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From af0e4f9f7ed92c7fa7a7b745d53820bf5356191c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 128/222] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From ac6a893ee271b47d1dd18c73b250f0bc7617eac2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 129/222] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 48ed6404e84a51f907ea766db6045f262e1e4da7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/222] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 6333175cde592751aaa2dfb6ad60690702899e2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/222] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 6b4df230992f2f320ac94a4e7a939d3b47069610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/222] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From bbad99c6d0f79e4f65661d8cc0be9c0e8fc7c792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/222] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 00cbd7fe5b4852bd075732c0e4f5c3ac731decc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 134/222] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 4f2f936462afc515d49f23970beacb9469d63a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 135/222] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From dcc2d499b70da01d2b3e34960745f8e252a68a75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/222] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From af28fb44f146ce3a010583a9404a875dc8444524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/222] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From cb377240ba4e09b3bbe382a260f95090a9f36f45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 138/222] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 83281d71e46bf2dcb619caa5a04ce49f5800b341 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 139/222] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 1a55fc1eed10e14d5958ad3ae1d2dbc50883d549 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/222] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 87a157d12010cd5ea1972e591ffed059caac7d1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 141/222] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From d441218812eba6fcf5bea42bf53bb8f23e3e8f19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/222] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From cb080df5d75c70371e77274cf92713e9be7fb775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/222] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 990c06f12486da2d5ced96fcba54bd6ae97c6c2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 144/222] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 18a5b06cd5562c74c867309efdf82d035dd16552 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 145/222] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6bb28a7a1859b546652c5e011997c9698ac01ee3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 146/222] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0f0639cab9c8e14967f996723c13f35531a84dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/222] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a4f8f8e3c90b984e718e1e7b03aa40f378e14d21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/222] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 58d50c49e5c72c418097e42c2e338d6db6d8d44e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/222] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b3d35c03de1d45a4c033abe50894b94009d6c5db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 150/222] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 9a9441f93b8da931d3d3cb3048792310eddb809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 151/222] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 6ea87964501a6e439689b298e4eaaf4445d417db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 152/222] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 8bd63f2d4ab1e37357ec26ae09aa0ed7b581276d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 153/222] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 68bea00c5352b863ec9df75537f680fab574f0f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/222] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8da831fcbe8370d49324874e8360ab5ded5e2a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 155/222] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7a1a79d8a926c6f4ab16b782056e4b05f1da29c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 156/222] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 07febabb8e7a3bca1790ece14465c3fb11eaac2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 157/222] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From be1b712c372005495171d86c8722fbe2fa162aaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 158/222] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From b8099ff5a0d55c087fabfe9fae547d9dd792cd11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/222] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 02d0c27b3a1d4e0e98b4f8651d92df9013ddb245 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/222] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 3f0a9a9418b3ba04414dd9cc8fdfe90b78bc5731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 161/222] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1ef69962ac9ea8e6287db3c283a58cd696d296a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 162/222] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 1acd8480dccc8ff18d4dd88b2cb967ee28fe8dbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 163/222] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 1c721e558d932a6b6699368bf4da025c2737de0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 164/222] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From a5bdd07ff004f847bff4bdc7b889fbee7c1ac32f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 165/222] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 39abdf973a434638095e2d55c1850075218127a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 166/222] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f80d63808ee40c448c0d6cddd65688426e53ad3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 167/222] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From f43ab59a0368cd9748a8e03c0c89014d2a4b8f00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 168/222] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 40f5e2aea405423fefe61bb141fb814354fc9ae7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 169/222] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 4ef1dc839868e22dfda0acbd1b8acd534e5d3278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 170/222] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 989a30c97058bdbce26a857f959e945438dbfd19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 171/222] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 639249dd1ce00a2ec6419b7b46d70ff39593f920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 172/222] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 81919e92f02263743581e0963172b2dea7cc755b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 173/222] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From aeac97336d1f6567264ba36406e1a28b9f7a49dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 174/222] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From a70c6fd3a3c32eaa6e19ab806347c2bb5fa678e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 175/222] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f8fcadc1442e96e21e5c58472cc8a418a2a2b3ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 176/222] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From c0a3211d33393a3729e60a3f455cfad5c5c3b949 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 177/222] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c3f83a10627293b6502f18f2688e70df6b155714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 178/222] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 9e4e28650bad3755915ac7ccf61bf48cf63d7f92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 179/222] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b057801853d822c47fa9d29a95c95fb5c594e6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 180/222] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From dfef8d475a4a156c02894972b727794ca33a0012 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 181/222] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 9b503d6d49e423cbbaab0fa7d749e78892c4fd36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 182/222] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From e91895eb5fa26d9093788829a56f3b5519352e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 183/222] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 87135c7733e4f33cb83a5e8e70f121019a0eb872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 184/222] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 2c9fd88af734032f288f75d935136ce944b8a109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 185/222] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From aec9a2775d342c94e23aa386c4d2ad607e01379c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 186/222] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 08988541c3d23c56d6964562af13b04f34274c46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 187/222] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 1d589a0ef1de1f5bdcfa2358ea812ce17af499f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 188/222] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From eeade07c714b9b7fd2f5e64e9ab6d5f6318bcde4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 189/222] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From dd0f9e3d03332c0c8c763bead8431843c2866f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 190/222] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 73c80284d5b66aed6a01b2937e2fcece8bd496dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 191/222] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cdd1068d3fa9c8a0ecb835830bdd345061195aae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 192/222] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From e2cb7f05bf0dcc4266b8b51a6070a225ecd821df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 193/222] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 33da76fc9297f202fb4cb4a6f0329b69ba5db421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 194/222] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 76d539cc72f3f2d24e5d289e9917d66d16296b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 195/222] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 04d45b574e2fd705ce9cebd213ba97927ae890f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 196/222] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 3da57afe5320b73c352866b5a34779d07764d0b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 197/222] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c96b05c2d85baf269e287c34899d6e5f835768af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 198/222] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b9cd9a0a4005b6a8a24602f715fed6a56d47aa40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 199/222] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 215f58dad638a722fe2d762bb8858e250c91efc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 200/222] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From ea4ce9f63e33bba123c0e48ce892855c5a2cbc0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 201/222] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 18fae37ba88722efc583f1ece606b1aefd23d76a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 202/222] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 306131d43bb9684fa67f0109d1ec4f4eb7ae51f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 203/222] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From a7f90a3fbcc65d3d56808ec4621fadead66a0d04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 204/222] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 9f7a8cad4fc68e0eb22dbed74d2603aadc1ca06c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 205/222] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 071034e7553f10866e1aa71b41a9adc748cf74c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 206/222] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 6473843f210926b4d310ffaa594ff14eaf61de3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 207/222] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 48e9c2fee8e4103601ba68d7f1843caaea5e1031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 208/222] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From e0ce4b663c1eefd06a9acce9b0d34e12c28f59ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 209/222] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 06c14e4aa4558fb4124e2cbb145fb2db0b54c3f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 210/222] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From ed579f83673b4edb89ccadd247fce57c139700cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 211/222] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 35c569629aaaf17938e72329e52533588692fe2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 212/222] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 71c6d0c5a2656600fff07c750fd05045e5aa6445 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 213/222] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From a2ea1b33cfeecf713cf50a9d1cf5b891c65413e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 214/222] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From af11cae4c02cf637356022f7fae1260c21497154 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 215/222] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From c11a6a4f72e80d9d25e744281ad283b8aab30904 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 216/222] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From cbe1c40a758118a4994856eb06c3d8157e0d17a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 217/222] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 9594bc73813c532214eb9aff60a48693a9f867e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 218/222] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 86f6caab7837039bad181836cf5df05ab71c3165 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 219/222] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 9ef71698c76e34c2102c396818b9a7033380ee28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 220/222] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 2bea4112f7ab5d4d1dba93154688998311292968 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 221/222] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From b3194926723d75f427eb89fe45ae10980e47cff7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 222/222] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (19 preceding siblings ...)
  2020-08-18 17:42 ` pullmoll
@ 2020-08-18 19:54 ` pullmoll
  2020-08-18 21:05 ` pullmoll
                   ` (32 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 19:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 195291 bytes --]

From cfb7377c1d140bdf61705d8dedb3ba5161c90a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/226] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 003e1ee4b527db1647783a8a7b64f32af3616bfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/226] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0b99b046a50a05b3b7db096636060bb61016a71e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/226] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ade08825a1d3eb59656ec531544c1e7d3958478e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/226] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 3612d60078b9e81c08c54ee3dcccf85310ea6edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/226] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From d95a1370e7b96d6361af0cf272540db7e6f7dc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/226] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 877b4894f7c9303404ce2e74e4f3d7a94636a92a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/226] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 988a5969c84cbced200083c34cd870e6416e6bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/226] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 5dd816bcd275fef320970845255772371ced1003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/226] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 958f749def62a22e3a877db7052eb882044ac800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/226] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From b8b53896c6aa89dde593f6ce7273e3570b45b9ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/226] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a5a67fddf349ae1ffc42d8f3b8de1e499c1e526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/226] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From f242abfe5b795d4bce50c4a22c627f2554fb2046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/226] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From dd472fd0e6e3bbdfb0e20e0a9b541af7a1eca855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/226] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From bdfd05aebda1301db5cd2ffc7539d69238598bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/226] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 26e86c4baa1bab3104eddec09cba36d3e2e58cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/226] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c91e249ac5927019c88b42ed30259fa7212d5a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/226] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 34261582bc034b748bd59e47b4e2bbfa8743e31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/226] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5517d8cfd0b5955964c19df946eb62dd29e0450a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/226] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 484fb257bf5154de89c9cd0114dadb8c1943c070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/226] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8651388a51ff1e124598a51d9eeedc55bbdfcb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/226] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 20227fbc9a45c6eb39c02f4c2e77f7eb51aed715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/226] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 7124577f07879f3c23f7a8ba3cddfbf4b2d1e6b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/226] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4175b14facde26d77fb5315c2f15f46771f8a71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/226] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From d11abac48db57e6b3718a14a4a53cb1487b6d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/226] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From d7c588997769733043ff271a0132b0b1f0b600ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/226] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From e2311e4989cfb7c8e2a5e54306fb2fee719ddd67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/226] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 902789da414ff4e41a59f07be7430436eda79d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/226] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From c8f6a2b00bc16afc9be21f7cb12b12dd848f72f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/226] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 0837a44937b1ed008e63ddd664f94bbc4971238c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/226] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 87ea825e10e3d2c2702db2c99009f5cc8c85b6cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/226] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 1280a797269a3209d273710461e926ca59a0a7f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/226] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From e6511e11fe5521ac71bdb64bc3bae82b7149e52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/226] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 6a07498a80cf9e6a7a791a44a4283055ade2dd39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/226] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 84c4bdcdf18f08b5e5237e36117939473ed6b6f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/226] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6f4d62503ee8452c1737424d176b3e0942318940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/226] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 37e0c0563bc7b3d2b40596c22b6f068e0ef4f617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/226] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 436537c48f59106e7aea0c2b95868327d3bee087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/226] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a1bfe02794f6a6900fba15c99e9194a78aefc9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/226] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 69ef50c3bccae6b73278d69b5c6593ea9e788ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/226] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2e511fbc936330e8c4a8c358675d337b77d63133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/226] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 8f1bd43a30d06f42638e056414b94f785d7d25af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/226] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From c8eb18bf7463279cb66b9f92f89d3199acfe3b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/226] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 31c0f9dd89320421c7ef47fbcedb629519b90d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/226] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 114cfe72deabb443ee0f073ee17f475a2d32114a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/226] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a8b33a30069f3b777a0a4bf7cc251ef749db0558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/226] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5d7ad9608817d24391c12e51ca5255cad9c3effa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/226] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 087208b5d3301fe38819fbba4f5f2daa4baf3a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/226] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From fabe9ad0433eb760c1ae9957722a575495f2c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/226] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 820eae3a18cf33514aa7048464b11a3f3627e16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/226] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5a732f19709079252d8254053866fc6afb75d5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/226] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f7a8e549aaf7ff5f13adec4185b141d3705f6bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/226] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 3b4bdb43e9dad5a7327daa5ce3c8632d51022d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/226] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 8b9686edf0b066d14782642a614d094f6aafaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/226] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From c93caa6351b0f45f27f08237e80d1cc7761f2743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/226] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From a8a1cb036ece23b40f895a20b0faada34f9b6b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/226] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 99794b1ff40255843945db3afb4a9caed2a6de5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/226] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From d69bfd5663dc4d4d81ed92dd682acc4bf85f5d10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/226] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From d8f37e9ce0a3abc10f17b026211f02270d1f77ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/226] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1076ca4eb6bf90e55f3cc6e23a79a2b1e8ef8ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/226] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 21678947b47924eb1f0b038783f0e06cbb77022f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/226] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 73bc12862797b288e16305e393e7dfbeab25dd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/226] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 91cb4b05429dcb9833bb3dc1e6f2199495b6a5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/226] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 9f6e72eae5afd4a6ce2993be25699749734bce9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/226] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From b94119c4a6d98d4b3f1a7c423ce7453c98807e65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/226] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From dad431d9bd7a6c061bf734c96a88e5b9a8700ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/226] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From ffdfd9717ff781084a8cd54ba0b50a4264223c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/226] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 635781cfefa6b14a36f4a4ca09a33b590384ad94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/226] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 586f76fb7c6d0c779f3c092cfa025a70e16ee2a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/226] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From aef508eed5d24853b66f9398227c9be5e773db63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/226] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From fe596231aafbb6cbfdd759398f19085b8fdb5b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/226] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 07c093068c1baa4f975eef4141af9b559e0b64a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/226] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cf65838f8658e9404c4cd2f1e9ce220cf07e1284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/226] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4d7154f23089b910fec7004ca914d57efd2ea651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/226] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From e8bb3f4a9a5609f95179c60a872982ad508ea173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/226] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a8dfef28333bbbb88a10a14d6ae3520bfd31dfc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/226] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a41a16a79f8d157f8a73bda3aeaa6236d503a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/226] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 81c8b3e0a1424b1f49962d1a67244058f9cffe15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/226] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 26a5f56e1a38e62039bcb9eead2966ba25537562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/226] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 6361e13eb1e9a8c6ce26d45fc9f0421d8d7a24e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/226] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 00ab5099dc7e450321c35ad8e09eeed4816a40fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/226] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8d1e0c0620cf82299dd0b6f321a1fd45bc8a8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/226] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 248211a1e32613a5026a195adc56389e4705bce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/226] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0dc5df77f35f135cc404c3f15239a363977c9a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/226] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8ea78cc9b6c81784f12003d6b5fcd262b27ee09a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/226] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f40ced96e92e2a6ca1d7baf99d8c048a5c24c1d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/226] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d0886a7a114ed2db3bc53ee2b2bfaafe18847442 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/226] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7d0db4a07a5a0cd8625579fbfc05d184a7006317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/226] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c13c900cde17fd2b1e109b5315fe4eb665350167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/226] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 8768ae606e8775558f792c8e1192efabdd89fc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/226] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From a744f440f36a5b86380334160a50049163374594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 091/226] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 74a10be82f60d3ff87c6a9cf2d16b36c9157c5b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/226] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From a096e75eab6f8c1664316364261c3953e7798253 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 093/226] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 8cd2d6b4cb97a3ae45e10fecd35dbce098b8dff8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 094/226] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 39608eb5dd6458077f2caffd4338f00c2fa91c60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/226] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 0b9cda10636d16fd808af414e50460ef8a479bde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/226] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 558d983c69bc453d10645e8f01703a6fb10e692b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/226] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 3b6c7cf891d0a35bd88185b0af5438219c8e662f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 098/226] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3b59a8a61dc8d0dbb595a190e3c86a2bcbed73c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 099/226] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 73f382856f3010d026fc20d38dd51aaeee8a6f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/226] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 21dcdbc45955dc2215104ce3909f8842fdb8bf78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/226] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 7951acdffd8022789cc958d13be934241ba0abe6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 102/226] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 9b52e6e08e6fac6e17700de23139bd40e3399121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 103/226] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 2c2d247303d8983ec86d170c37814481d23001ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/226] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f9ea6fe412da6a552a28a741c2382ab606782dcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/226] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 59916a5fb5aa861fe7be0e761da9918a1f0efd81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 106/226] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From b14953304f25eef360c7ca10055076c61701e9de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 107/226] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 9b153d6c2fd6d7dd84f7ee9ef169b0d047daf89e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 108/226] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From fe47fd6bc772e11321fa493ff672f383af0c6e12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/226] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 38884fda9d967b8ca0ab95581d2b7eb9a885e6db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 110/226] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b4d8f408f8c50222a60aaac1ea3eaaa0ea27f40f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/226] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 27b73ca7969c7a036aba665990db64fb255a8a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 112/226] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 1eff8662263a46fed33caeaaf8511962e4f6d4c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 113/226] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2f8d8f754ac2b6170afbfe45bfe0fde934e9ecba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/226] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 88d7d7f8642d74e1e2abe46d7ef6d93191d0ff99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/226] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From a548565df61ee16713ee0b1691128cb7344391e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/226] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 4393e7c5de0701750040e965f1c951dbdded41b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 117/226] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 805d62a7ac77551554703b8293aa5eb0f51942a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 118/226] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From ec719bab9a5426c227931b215bb52dfffe2f8520 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/226] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 930b2002d44fdeb6f3b117e568166e661238cbb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/226] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From fee07a479f02f67b354e0415ab67432da57accec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/226] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From a8f99b982aee2910ab5b44c77d2090836f43c030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 122/226] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 9544b9c967f8bbad16f0d23a2f3dd0ca94f1a3b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 123/226] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From c374e905d593e1d05e3adde22d37cfeee573dbc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/226] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 848207a6a9267bd97c69d033c046e1d9e38c31c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/226] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From d5cacd10800af637b899b02b5e47b3fdefb19f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/226] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 37dfbec7e0c795da0d889237bb238496e5ccfbc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/226] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From af0e4f9f7ed92c7fa7a7b745d53820bf5356191c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 128/226] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From ac6a893ee271b47d1dd18c73b250f0bc7617eac2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 129/226] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 48ed6404e84a51f907ea766db6045f262e1e4da7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/226] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 6333175cde592751aaa2dfb6ad60690702899e2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/226] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 6b4df230992f2f320ac94a4e7a939d3b47069610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/226] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From bbad99c6d0f79e4f65661d8cc0be9c0e8fc7c792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/226] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 00cbd7fe5b4852bd075732c0e4f5c3ac731decc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 134/226] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 4f2f936462afc515d49f23970beacb9469d63a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 135/226] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From dcc2d499b70da01d2b3e34960745f8e252a68a75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/226] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From af28fb44f146ce3a010583a9404a875dc8444524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/226] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From cb377240ba4e09b3bbe382a260f95090a9f36f45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 138/226] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 83281d71e46bf2dcb619caa5a04ce49f5800b341 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 139/226] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 1a55fc1eed10e14d5958ad3ae1d2dbc50883d549 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/226] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 87a157d12010cd5ea1972e591ffed059caac7d1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 141/226] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From d441218812eba6fcf5bea42bf53bb8f23e3e8f19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/226] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From cb080df5d75c70371e77274cf92713e9be7fb775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/226] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 990c06f12486da2d5ced96fcba54bd6ae97c6c2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 144/226] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 18a5b06cd5562c74c867309efdf82d035dd16552 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 145/226] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6bb28a7a1859b546652c5e011997c9698ac01ee3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 146/226] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0f0639cab9c8e14967f996723c13f35531a84dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/226] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a4f8f8e3c90b984e718e1e7b03aa40f378e14d21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/226] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 58d50c49e5c72c418097e42c2e338d6db6d8d44e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/226] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b3d35c03de1d45a4c033abe50894b94009d6c5db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 150/226] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 9a9441f93b8da931d3d3cb3048792310eddb809b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 151/226] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 6ea87964501a6e439689b298e4eaaf4445d417db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 152/226] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 8bd63f2d4ab1e37357ec26ae09aa0ed7b581276d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 153/226] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 68bea00c5352b863ec9df75537f680fab574f0f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/226] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8da831fcbe8370d49324874e8360ab5ded5e2a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 155/226] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 7a1a79d8a926c6f4ab16b782056e4b05f1da29c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 156/226] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 07febabb8e7a3bca1790ece14465c3fb11eaac2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 157/226] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From be1b712c372005495171d86c8722fbe2fa162aaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 158/226] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From b8099ff5a0d55c087fabfe9fae547d9dd792cd11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/226] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 02d0c27b3a1d4e0e98b4f8651d92df9013ddb245 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/226] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 3f0a9a9418b3ba04414dd9cc8fdfe90b78bc5731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 161/226] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1ef69962ac9ea8e6287db3c283a58cd696d296a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 162/226] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 1acd8480dccc8ff18d4dd88b2cb967ee28fe8dbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 163/226] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 1c721e558d932a6b6699368bf4da025c2737de0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 164/226] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From a5bdd07ff004f847bff4bdc7b889fbee7c1ac32f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 165/226] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 39abdf973a434638095e2d55c1850075218127a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 166/226] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f80d63808ee40c448c0d6cddd65688426e53ad3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 167/226] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From f43ab59a0368cd9748a8e03c0c89014d2a4b8f00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 168/226] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 40f5e2aea405423fefe61bb141fb814354fc9ae7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 169/226] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 4ef1dc839868e22dfda0acbd1b8acd534e5d3278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 170/226] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 989a30c97058bdbce26a857f959e945438dbfd19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 171/226] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 639249dd1ce00a2ec6419b7b46d70ff39593f920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 172/226] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 81919e92f02263743581e0963172b2dea7cc755b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 173/226] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From aeac97336d1f6567264ba36406e1a28b9f7a49dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 174/226] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From a70c6fd3a3c32eaa6e19ab806347c2bb5fa678e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 175/226] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From f8fcadc1442e96e21e5c58472cc8a418a2a2b3ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 176/226] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From c0a3211d33393a3729e60a3f455cfad5c5c3b949 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 177/226] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c3f83a10627293b6502f18f2688e70df6b155714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 178/226] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 9e4e28650bad3755915ac7ccf61bf48cf63d7f92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 179/226] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b057801853d822c47fa9d29a95c95fb5c594e6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 180/226] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From dfef8d475a4a156c02894972b727794ca33a0012 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 181/226] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 9b503d6d49e423cbbaab0fa7d749e78892c4fd36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 182/226] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From e91895eb5fa26d9093788829a56f3b5519352e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 183/226] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 87135c7733e4f33cb83a5e8e70f121019a0eb872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 184/226] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 2c9fd88af734032f288f75d935136ce944b8a109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 185/226] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From aec9a2775d342c94e23aa386c4d2ad607e01379c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 186/226] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 08988541c3d23c56d6964562af13b04f34274c46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 187/226] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 1d589a0ef1de1f5bdcfa2358ea812ce17af499f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 188/226] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From eeade07c714b9b7fd2f5e64e9ab6d5f6318bcde4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 189/226] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From dd0f9e3d03332c0c8c763bead8431843c2866f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 190/226] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 73c80284d5b66aed6a01b2937e2fcece8bd496dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 191/226] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cdd1068d3fa9c8a0ecb835830bdd345061195aae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 192/226] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From e2cb7f05bf0dcc4266b8b51a6070a225ecd821df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 193/226] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 33da76fc9297f202fb4cb4a6f0329b69ba5db421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 194/226] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 76d539cc72f3f2d24e5d289e9917d66d16296b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 195/226] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 04d45b574e2fd705ce9cebd213ba97927ae890f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 196/226] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 3da57afe5320b73c352866b5a34779d07764d0b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 197/226] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c96b05c2d85baf269e287c34899d6e5f835768af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 198/226] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From b9cd9a0a4005b6a8a24602f715fed6a56d47aa40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 199/226] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 215f58dad638a722fe2d762bb8858e250c91efc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 200/226] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From ea4ce9f63e33bba123c0e48ce892855c5a2cbc0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 201/226] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 18fae37ba88722efc583f1ece606b1aefd23d76a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 202/226] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 306131d43bb9684fa67f0109d1ec4f4eb7ae51f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 203/226] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From a7f90a3fbcc65d3d56808ec4621fadead66a0d04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 204/226] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 9f7a8cad4fc68e0eb22dbed74d2603aadc1ca06c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 205/226] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 071034e7553f10866e1aa71b41a9adc748cf74c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 206/226] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 6473843f210926b4d310ffaa594ff14eaf61de3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 207/226] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 48e9c2fee8e4103601ba68d7f1843caaea5e1031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 208/226] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From e0ce4b663c1eefd06a9acce9b0d34e12c28f59ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 209/226] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 06c14e4aa4558fb4124e2cbb145fb2db0b54c3f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 210/226] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From ed579f83673b4edb89ccadd247fce57c139700cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 211/226] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 35c569629aaaf17938e72329e52533588692fe2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 212/226] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 71c6d0c5a2656600fff07c750fd05045e5aa6445 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 213/226] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From a2ea1b33cfeecf713cf50a9d1cf5b891c65413e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 214/226] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From af11cae4c02cf637356022f7fae1260c21497154 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 215/226] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From c11a6a4f72e80d9d25e744281ad283b8aab30904 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 216/226] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From cbe1c40a758118a4994856eb06c3d8157e0d17a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 217/226] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 9594bc73813c532214eb9aff60a48693a9f867e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 218/226] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 86f6caab7837039bad181836cf5df05ab71c3165 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 219/226] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 9ef71698c76e34c2102c396818b9a7033380ee28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 220/226] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 2bea4112f7ab5d4d1dba93154688998311292968 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 221/226] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From b3194926723d75f427eb89fe45ae10980e47cff7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 222/226] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From e259b7a9f3e177b1648ba2dbedf26244163a7da9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 223/226] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 264efc46eb29f9d411d84e2b77648f04c29c33b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 224/226] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 1eae6e67c6866da317f973f68cda7911bf594454 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 225/226] vtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..2c3c0f9edf8 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -41,6 +41,8 @@ checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
 
 nocross="hdf5 is nocross"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
 	vlicense Copyright.txt

From 9698c957fed60a70da4f53c027a2c11fd840d7b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 226/226] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (20 preceding siblings ...)
  2020-08-18 19:54 ` pullmoll
@ 2020-08-18 21:05 ` pullmoll
  2020-08-18 21:18 ` pullmoll
                   ` (31 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 21:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 196970 bytes --]

From cfb7377c1d140bdf61705d8dedb3ba5161c90a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/226] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 003e1ee4b527db1647783a8a7b64f32af3616bfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/226] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0b99b046a50a05b3b7db096636060bb61016a71e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/226] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ade08825a1d3eb59656ec531544c1e7d3958478e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/226] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 3612d60078b9e81c08c54ee3dcccf85310ea6edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/226] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From d95a1370e7b96d6361af0cf272540db7e6f7dc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/226] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 877b4894f7c9303404ce2e74e4f3d7a94636a92a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/226] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 988a5969c84cbced200083c34cd870e6416e6bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/226] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 5dd816bcd275fef320970845255772371ced1003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/226] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 958f749def62a22e3a877db7052eb882044ac800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/226] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From b8b53896c6aa89dde593f6ce7273e3570b45b9ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/226] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a5a67fddf349ae1ffc42d8f3b8de1e499c1e526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/226] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From f242abfe5b795d4bce50c4a22c627f2554fb2046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/226] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From dd472fd0e6e3bbdfb0e20e0a9b541af7a1eca855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/226] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From bdfd05aebda1301db5cd2ffc7539d69238598bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/226] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 26e86c4baa1bab3104eddec09cba36d3e2e58cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/226] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c91e249ac5927019c88b42ed30259fa7212d5a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/226] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 34261582bc034b748bd59e47b4e2bbfa8743e31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/226] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5517d8cfd0b5955964c19df946eb62dd29e0450a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/226] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 484fb257bf5154de89c9cd0114dadb8c1943c070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/226] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8651388a51ff1e124598a51d9eeedc55bbdfcb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/226] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 20227fbc9a45c6eb39c02f4c2e77f7eb51aed715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/226] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 7124577f07879f3c23f7a8ba3cddfbf4b2d1e6b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/226] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4175b14facde26d77fb5315c2f15f46771f8a71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/226] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From d11abac48db57e6b3718a14a4a53cb1487b6d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/226] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From d7c588997769733043ff271a0132b0b1f0b600ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/226] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From e2311e4989cfb7c8e2a5e54306fb2fee719ddd67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/226] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 902789da414ff4e41a59f07be7430436eda79d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/226] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From c8f6a2b00bc16afc9be21f7cb12b12dd848f72f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/226] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 0837a44937b1ed008e63ddd664f94bbc4971238c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/226] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 87ea825e10e3d2c2702db2c99009f5cc8c85b6cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/226] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 1280a797269a3209d273710461e926ca59a0a7f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/226] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From e6511e11fe5521ac71bdb64bc3bae82b7149e52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/226] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 6a07498a80cf9e6a7a791a44a4283055ade2dd39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/226] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 84c4bdcdf18f08b5e5237e36117939473ed6b6f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/226] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6f4d62503ee8452c1737424d176b3e0942318940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/226] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 37e0c0563bc7b3d2b40596c22b6f068e0ef4f617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/226] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 436537c48f59106e7aea0c2b95868327d3bee087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/226] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a1bfe02794f6a6900fba15c99e9194a78aefc9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/226] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 69ef50c3bccae6b73278d69b5c6593ea9e788ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/226] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2e511fbc936330e8c4a8c358675d337b77d63133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/226] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 8f1bd43a30d06f42638e056414b94f785d7d25af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/226] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From c8eb18bf7463279cb66b9f92f89d3199acfe3b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/226] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 31c0f9dd89320421c7ef47fbcedb629519b90d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/226] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 114cfe72deabb443ee0f073ee17f475a2d32114a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/226] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a8b33a30069f3b777a0a4bf7cc251ef749db0558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/226] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5d7ad9608817d24391c12e51ca5255cad9c3effa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/226] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 087208b5d3301fe38819fbba4f5f2daa4baf3a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/226] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From fabe9ad0433eb760c1ae9957722a575495f2c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/226] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 820eae3a18cf33514aa7048464b11a3f3627e16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/226] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5a732f19709079252d8254053866fc6afb75d5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/226] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f7a8e549aaf7ff5f13adec4185b141d3705f6bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/226] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 3b4bdb43e9dad5a7327daa5ce3c8632d51022d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/226] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 8b9686edf0b066d14782642a614d094f6aafaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/226] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From c93caa6351b0f45f27f08237e80d1cc7761f2743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/226] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From a8a1cb036ece23b40f895a20b0faada34f9b6b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/226] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 99794b1ff40255843945db3afb4a9caed2a6de5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/226] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From d69bfd5663dc4d4d81ed92dd682acc4bf85f5d10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/226] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From d8f37e9ce0a3abc10f17b026211f02270d1f77ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/226] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1076ca4eb6bf90e55f3cc6e23a79a2b1e8ef8ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/226] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 21678947b47924eb1f0b038783f0e06cbb77022f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/226] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 73bc12862797b288e16305e393e7dfbeab25dd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/226] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 91cb4b05429dcb9833bb3dc1e6f2199495b6a5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/226] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 9f6e72eae5afd4a6ce2993be25699749734bce9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/226] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From b94119c4a6d98d4b3f1a7c423ce7453c98807e65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/226] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From dad431d9bd7a6c061bf734c96a88e5b9a8700ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/226] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From ffdfd9717ff781084a8cd54ba0b50a4264223c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/226] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 635781cfefa6b14a36f4a4ca09a33b590384ad94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/226] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 586f76fb7c6d0c779f3c092cfa025a70e16ee2a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/226] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From aef508eed5d24853b66f9398227c9be5e773db63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/226] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From fe596231aafbb6cbfdd759398f19085b8fdb5b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/226] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 07c093068c1baa4f975eef4141af9b559e0b64a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/226] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cf65838f8658e9404c4cd2f1e9ce220cf07e1284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/226] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4d7154f23089b910fec7004ca914d57efd2ea651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/226] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From e8bb3f4a9a5609f95179c60a872982ad508ea173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/226] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a8dfef28333bbbb88a10a14d6ae3520bfd31dfc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/226] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a41a16a79f8d157f8a73bda3aeaa6236d503a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/226] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 81c8b3e0a1424b1f49962d1a67244058f9cffe15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/226] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 26a5f56e1a38e62039bcb9eead2966ba25537562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/226] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 6361e13eb1e9a8c6ce26d45fc9f0421d8d7a24e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/226] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 00ab5099dc7e450321c35ad8e09eeed4816a40fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/226] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8d1e0c0620cf82299dd0b6f321a1fd45bc8a8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/226] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 248211a1e32613a5026a195adc56389e4705bce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/226] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0dc5df77f35f135cc404c3f15239a363977c9a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/226] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8ea78cc9b6c81784f12003d6b5fcd262b27ee09a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/226] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f40ced96e92e2a6ca1d7baf99d8c048a5c24c1d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/226] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d0886a7a114ed2db3bc53ee2b2bfaafe18847442 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/226] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7d0db4a07a5a0cd8625579fbfc05d184a7006317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/226] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c13c900cde17fd2b1e109b5315fe4eb665350167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/226] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 8768ae606e8775558f792c8e1192efabdd89fc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/226] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 49bc6d35c11d29aed15c3009b8fbe94b5e70a040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/226] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From afbf100336474788d6990d8a80d38c3c0ca928a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/226] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From b39b63175132562d3633b071e50f30511d8b0758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/226] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From a4de6e673861ac71b92582aa1c5e5a4ab3f3021c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/226] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 2e29f8e9ba0290335e91b44bb241755dddcf215b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/226] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 7ef20b8255ce154f7deca6241b861300741ecd37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/226] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 7f6494a672c1719f7afd9b0c2e99a9d0f680dda9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/226] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From a85a07cbae832ce32e7c45d3e5069f406dbd6f90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/226] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 9ad19c802735e368f7e55491ab48c8d1539f97d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/226] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d918a443ac8e8a9e28945034899d7effc5ab3be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/226] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 7718c60004905a8e297c65c7f67d59d7f680a2d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/226] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From a6debd49525aa9f3f3f0ee15fd62b2a9ed4a807e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/226] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From fa88f3a2b31890bf55e1a76f08b9a960884686b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/226] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From b9929f150272410f1c8d608beae8292412cfabf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/226] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 281d788c5d54756771b5e20eb8b0f7792700a793 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/226] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 8e1f9358ec6f6460817dee8d8708e51d78d303ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/226] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 33644f63d681b20bd8bb71df6f5b654642b8c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/226] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From baf57ab1563f28cdc6c9f98c69cca3705390e541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/226] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 5e561220a589443e9f8d38eb2fc905e8c4f662a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/226] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From c80f073212edc70a039e59d6b7d9088a1d0c0758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/226] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 92cd506651f6bd888853ae8464f59d975cf2f83b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/226] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 1b025a39ec9a31ba8b101e0455666e99a73d6b26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/226] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8b4c00b24370922bbfd4b1f2becede5e3cadbd73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/226] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From f2fe444a00a3b79de9bd273f22731545dbe73548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/226] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From e016892d8ce6fdd84a89e0eb8f4da95e4bd0f735 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/226] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e501fd8e2c34df0b89469cdc3f54baf90c9e7d7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/226] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 959a7863a8a10289ed2dde8c35dafd294aeb1a50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/226] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 6df8904e748ae66c8efe9531de0967b3966e6a54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/226] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ca223085d2b655dc49568d9b3bedf159b4a1d97b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/226] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b4b62f4c55089fa98239f5a3b26785b314a1668e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/226] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 7da19f7f4e4c7129680d178786f067305525bba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/226] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From b418ec5858b167c3cf00ca9198dd9b572d22f98c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/226] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From ef3cbbe928e9b7ac8505752f6d56358c12f577ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/226] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From f02f8c6a952022ff784c23fdce9279e50e5879d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/226] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 5e05ad449c7bf1f6b65fc62b2d06fb2f5bfdfa7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/226] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 2d765bfa9e45b2a2f47fc4b53b688358747568af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/226] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From d34304150d6c83af959ecc58ea6994fdd0513f63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/226] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From f5b19c69d6fe5991b13f4822c4e6a74b924b6142 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/226] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From e7e46abe6810aae7a7602adf91f9ac5698979040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/226] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From f67a2793ac88057d272024ba448fb71bcc4d4b4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/226] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 1f306021315263b329e230241740aaf391f8514a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/226] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 4a1998c6d459bd8d5d4b93c22f30a0f2e7cbe417 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/226] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 80bf051363e6417d994402038c68120c5a488b55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/226] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 0281b9e4e0e9f62ad55445dba144b647590b4c53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/226] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From fcc8b3bacef9f2f586d3926ea0dbeaa917351d15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/226] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 6bf4090860167a7bf651a8ee9e25b25ef5dd568a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/226] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From f0dcc8b627935e4313ccf51a83df20e1ef4a937f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/226] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 52cdfc3cf533399d7a122d2ddbbf9c34a513610b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/226] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 9c08fa62246951fe382a0265e885d0ababc68baf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/226] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 31f2771b65f910af0025d90d3ca08fc33549867c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/226] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From c106b6139e998231c607eac37478bfb5efb9e2ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/226] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 43635481421ac0e043fdc19db0009439986d6d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/226] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 2df3241e6746d59fbda6d6ae1f80e188812f00bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/226] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From fe7d05b2eccdd2772326c40486a6a9164a6b2acd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/226] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From b76d6fc731af355ce607d89efc000446813668cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/226] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 29982c9e4fa51ff41d0b814efcbdf2943b81bbf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/226] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From e6acef87481ecdf6febef73fd1353e2589534416 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/226] openjdk8: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk8/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..af919c39343 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From f50d434bc2e28b16596ce517063dd9ce1aa50d79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/226] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c698c000c856ac7e2ce0786f877aa0c4c138d0ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/226] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 35b9c9da031229e732748cd320519355db0da958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/226] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From f33c6566f56b67fe5663c021f523e8f5f1dd652f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/226] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 4cafcb48f7d6620d51f890babdd47f6aab610f34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/226] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b52a09d0679669d75bf5f1dd3b8dcf40dd58acd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 153/226] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From da8a9e65c285a7cc3d464e67c3a2dd768fd43cad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/226] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 38cf5e74f66f5e4234ea06fae47eed970a7957af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 155/226] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From fb00e3710bbc7caf2ac9cf5d7de3cce39b952e17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/226] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From af2f00dbd78818dbcfbb1f6fd96c52b9ef8ad0aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/226] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From f2e307dc296c03e3e167f517740d8563159ca33d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/226] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0bf3ee8fc07c3ca3a04e7703fab11703a52b5353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/226] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 2f7cb55d046106b30039d96c0622b9f92a2680e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/226] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From e4fc39a26bc8d2b4712da09adee0f1bdd9254a72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/226] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 88ded5d813c2334e52ca89f4f985bc3415ce1f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/226] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 199d5f565eb74bdc56efae165f8ef154c1998235 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/226] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 7ee00b237b525f3aa7d8663d0aeb479119a87fc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/226] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From d9c24989c29e23e1330164436bbacff2f01ea6f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 165/226] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From d0b6e1de40c2e25b6d42a4d892bbc655be88bd4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 166/226] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 9480c722a6503dffcad40444b50f1139ad454692 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 167/226] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From c284f618d4ee39f62d6b57b5bf0b2c914be2e47b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/226] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 095eae65f8809e8a6555e27830af33ff1b531751 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/226] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 9c2434003e25382b16a045b67898aac4a4c71069 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 170/226] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From c5eed457f5bf180864832187a88d146fb1723c32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 171/226] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From db4f84665cb8b588092aeb2ee9ee8f035f43c999 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 172/226] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 1eadedaf24862cfcb4ceee114adea3f82eb4e182 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 173/226] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 0abaaf9d29f04bfe15c0aedc8b770fd98f765c89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/226] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From a8801fbe324489238d4ec7171be85464f63b91a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 175/226] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 0b301a2d3442b88f6bad9104755647d2d4d92e90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 176/226] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From a346dbffc4920ca7d0ae2349a1019acba4d287a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 177/226] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 5c1ca60db8cd8866485ab12e42513f110915aa57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 178/226] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 3e46af064b60c54d332cdcd033b9a650803221af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 179/226] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 9df9c3fed3769ee9a02097c1e70147a5ee0062d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 180/226] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From e512f36b1b206b236e417d3e7e4fec8edd688eaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/226] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From e7ed8eb4939bb1314715bd0e6a4004935e66cd48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 182/226] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 4d5874f8f353207a38923db0ac2c10aba5a9f3ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 183/226] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 3adb8572835dae51d651cdd2570cc066810a3c63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 184/226] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From c5df87467af1d24b716f6e5bdd92827ff644967e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/226] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From cc6be386a863a4838cdeb1b9df2d2668073dfc2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/226] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 33d3690ccca41148ea8d807337bba566676f13aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 187/226] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From d6992ba46d4af2d90312be1edf93887722c8c8c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 188/226] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 4e555166a7108b8ebfb50f78feadaa10d566bc8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 189/226] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 175cd4decfd3e8c54fbbc341ff5084ce1034d0ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 190/226] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From d875f62d6ec29f25fa30452d0f832bae0bbce931 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 191/226] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 6f2ba2ee0147036751e32040c271e236d1bce71b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 192/226] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 53bec7872d924f14229fa628b6c1137df71b7576 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 193/226] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 50d87edac9ddb87caeadbded413219f8cb99f161 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 194/226] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ce4e2e319483b0e48ebe8c1a410ab92c6dcfaef0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 195/226] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 86c72afc3199d487638261b60582b0611e3d40df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/226] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 09e7f6d260204422d65ed6866211c937b260f60d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 197/226] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 1fbba68de24e2dec3f44ad117a55c40f75638a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 198/226] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9e44cc02ee81a8bed27d7d2f322b0641792ccdd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 199/226] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From e58781771804c9b6d5b0eb17e0044812c9128665 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 200/226] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From fd2719fefc775ad9d2a194e6245da47cf33e9f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 201/226] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 22a253ea2e14491bb3c9948d1cb62765cfa7890c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 202/226] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From cd11bc9936282197ee3199fc995d2d130356ae30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 203/226] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 4a873be8fd773d965c2e4c878aa87c82f7692aef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 204/226] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From c07118fd61c2832c47705053cd0c89001fbc648f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 205/226] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From d25c4eb4dc6ae1882ee2a2e0204e2aa712e3f0a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 206/226] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 6d75ace83e1957b3521197dafefca16910abf6ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 207/226] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 65ea8bb0b037ca59032f3755e6a00b883f87fee3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 208/226] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 5b0a85c5fab0f43819f29725dd045c35f87d6f10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 209/226] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 srcpkgs/vtk/template | 32 ++++----------------------------
 1 file changed, 4 insertions(+), 28 deletions(-)

diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From b3727e86ffc567d3b638b6cf253afd06546e752c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 210/226] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 08d0a135db52064ca52c222911010f492e68c660 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 211/226] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 2a1b4ffd872a48ee71eb1a5e1ed2b03b2a7b1db4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 212/226] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From ad5f72b3b8405b54bf60e6df0a0aa8d7ba070d1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 213/226] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 4b882fed6bfbe315f4a88650df4b9f3f25e7ca08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 214/226] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d348f9f19e5664b6b795d936b5a7205f724ef133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 215/226] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 286b238f9a7f913b52d534743880d4355cc38432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 216/226] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From a3b3ca3cd84436e0c41b47148b6978d3b26b6a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 217/226] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 448baf7e4c7612f02665f33efe9f0f155e13e809 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 218/226] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 3e993ed6201df707d723a1407bddb771013d422e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 219/226] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 1caa97e246e8bd629b3f32f06370c92bdea8b87f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 220/226] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From ef1002c83847c044287cf5d69358870b070bfb63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 221/226] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 311f7ca8392ffb4c191795c01908bf39cc4fe19b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 222/226] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From af0a9b1b29bdc344da9d37d30fb32b9eb5cbd0b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 223/226] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From e9efc671023600bbe21b0aa15bb727249413edbb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 224/226] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 9281ac266e950bc5b60568aeb0f28e4cca1a1910 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 225/226] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 4268b4e1b4df3a6de97b264d3d30a093b0af5f12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 226/226] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (21 preceding siblings ...)
  2020-08-18 21:05 ` pullmoll
@ 2020-08-18 21:18 ` pullmoll
  2020-08-18 21:38 ` pullmoll
                   ` (30 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 21:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 198727 bytes --]

From cfb7377c1d140bdf61705d8dedb3ba5161c90a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/226] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 003e1ee4b527db1647783a8a7b64f32af3616bfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/226] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0b99b046a50a05b3b7db096636060bb61016a71e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/226] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ade08825a1d3eb59656ec531544c1e7d3958478e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/226] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 3612d60078b9e81c08c54ee3dcccf85310ea6edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/226] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From d95a1370e7b96d6361af0cf272540db7e6f7dc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/226] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 877b4894f7c9303404ce2e74e4f3d7a94636a92a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/226] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 988a5969c84cbced200083c34cd870e6416e6bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/226] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 5dd816bcd275fef320970845255772371ced1003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/226] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 958f749def62a22e3a877db7052eb882044ac800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/226] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From b8b53896c6aa89dde593f6ce7273e3570b45b9ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/226] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a5a67fddf349ae1ffc42d8f3b8de1e499c1e526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/226] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From f242abfe5b795d4bce50c4a22c627f2554fb2046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/226] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From dd472fd0e6e3bbdfb0e20e0a9b541af7a1eca855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/226] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From bdfd05aebda1301db5cd2ffc7539d69238598bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/226] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 26e86c4baa1bab3104eddec09cba36d3e2e58cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/226] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c91e249ac5927019c88b42ed30259fa7212d5a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/226] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 34261582bc034b748bd59e47b4e2bbfa8743e31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/226] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5517d8cfd0b5955964c19df946eb62dd29e0450a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/226] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 484fb257bf5154de89c9cd0114dadb8c1943c070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/226] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8651388a51ff1e124598a51d9eeedc55bbdfcb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/226] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 20227fbc9a45c6eb39c02f4c2e77f7eb51aed715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/226] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 7124577f07879f3c23f7a8ba3cddfbf4b2d1e6b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/226] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4175b14facde26d77fb5315c2f15f46771f8a71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/226] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From d11abac48db57e6b3718a14a4a53cb1487b6d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/226] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From d7c588997769733043ff271a0132b0b1f0b600ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/226] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From e2311e4989cfb7c8e2a5e54306fb2fee719ddd67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/226] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 902789da414ff4e41a59f07be7430436eda79d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/226] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From c8f6a2b00bc16afc9be21f7cb12b12dd848f72f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/226] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 0837a44937b1ed008e63ddd664f94bbc4971238c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/226] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 87ea825e10e3d2c2702db2c99009f5cc8c85b6cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/226] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 1280a797269a3209d273710461e926ca59a0a7f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/226] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From e6511e11fe5521ac71bdb64bc3bae82b7149e52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/226] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 6a07498a80cf9e6a7a791a44a4283055ade2dd39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/226] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 84c4bdcdf18f08b5e5237e36117939473ed6b6f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/226] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6f4d62503ee8452c1737424d176b3e0942318940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/226] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 37e0c0563bc7b3d2b40596c22b6f068e0ef4f617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/226] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 436537c48f59106e7aea0c2b95868327d3bee087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/226] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a1bfe02794f6a6900fba15c99e9194a78aefc9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/226] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 69ef50c3bccae6b73278d69b5c6593ea9e788ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/226] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2e511fbc936330e8c4a8c358675d337b77d63133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/226] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 8f1bd43a30d06f42638e056414b94f785d7d25af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/226] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From c8eb18bf7463279cb66b9f92f89d3199acfe3b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/226] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 31c0f9dd89320421c7ef47fbcedb629519b90d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/226] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 114cfe72deabb443ee0f073ee17f475a2d32114a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/226] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a8b33a30069f3b777a0a4bf7cc251ef749db0558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/226] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5d7ad9608817d24391c12e51ca5255cad9c3effa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/226] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 087208b5d3301fe38819fbba4f5f2daa4baf3a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/226] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From fabe9ad0433eb760c1ae9957722a575495f2c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/226] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 820eae3a18cf33514aa7048464b11a3f3627e16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/226] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5a732f19709079252d8254053866fc6afb75d5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/226] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f7a8e549aaf7ff5f13adec4185b141d3705f6bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/226] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 3b4bdb43e9dad5a7327daa5ce3c8632d51022d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/226] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 8b9686edf0b066d14782642a614d094f6aafaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/226] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From c93caa6351b0f45f27f08237e80d1cc7761f2743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/226] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From a8a1cb036ece23b40f895a20b0faada34f9b6b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/226] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 99794b1ff40255843945db3afb4a9caed2a6de5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/226] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From d69bfd5663dc4d4d81ed92dd682acc4bf85f5d10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/226] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From d8f37e9ce0a3abc10f17b026211f02270d1f77ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/226] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1076ca4eb6bf90e55f3cc6e23a79a2b1e8ef8ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/226] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 21678947b47924eb1f0b038783f0e06cbb77022f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/226] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 73bc12862797b288e16305e393e7dfbeab25dd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/226] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 91cb4b05429dcb9833bb3dc1e6f2199495b6a5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/226] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 9f6e72eae5afd4a6ce2993be25699749734bce9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/226] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From b94119c4a6d98d4b3f1a7c423ce7453c98807e65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/226] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From dad431d9bd7a6c061bf734c96a88e5b9a8700ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/226] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From ffdfd9717ff781084a8cd54ba0b50a4264223c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/226] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 635781cfefa6b14a36f4a4ca09a33b590384ad94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/226] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 586f76fb7c6d0c779f3c092cfa025a70e16ee2a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/226] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From aef508eed5d24853b66f9398227c9be5e773db63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/226] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From fe596231aafbb6cbfdd759398f19085b8fdb5b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/226] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 07c093068c1baa4f975eef4141af9b559e0b64a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/226] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cf65838f8658e9404c4cd2f1e9ce220cf07e1284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/226] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4d7154f23089b910fec7004ca914d57efd2ea651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/226] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From e8bb3f4a9a5609f95179c60a872982ad508ea173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/226] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a8dfef28333bbbb88a10a14d6ae3520bfd31dfc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/226] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a41a16a79f8d157f8a73bda3aeaa6236d503a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/226] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 81c8b3e0a1424b1f49962d1a67244058f9cffe15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/226] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 26a5f56e1a38e62039bcb9eead2966ba25537562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/226] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 6361e13eb1e9a8c6ce26d45fc9f0421d8d7a24e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/226] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 00ab5099dc7e450321c35ad8e09eeed4816a40fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/226] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8d1e0c0620cf82299dd0b6f321a1fd45bc8a8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/226] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 248211a1e32613a5026a195adc56389e4705bce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/226] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0dc5df77f35f135cc404c3f15239a363977c9a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/226] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8ea78cc9b6c81784f12003d6b5fcd262b27ee09a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/226] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f40ced96e92e2a6ca1d7baf99d8c048a5c24c1d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/226] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d0886a7a114ed2db3bc53ee2b2bfaafe18847442 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/226] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7d0db4a07a5a0cd8625579fbfc05d184a7006317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/226] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c13c900cde17fd2b1e109b5315fe4eb665350167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/226] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 8768ae606e8775558f792c8e1192efabdd89fc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/226] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 49bc6d35c11d29aed15c3009b8fbe94b5e70a040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/226] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From afbf100336474788d6990d8a80d38c3c0ca928a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/226] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From b39b63175132562d3633b071e50f30511d8b0758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/226] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From a4de6e673861ac71b92582aa1c5e5a4ab3f3021c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/226] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 2e29f8e9ba0290335e91b44bb241755dddcf215b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/226] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 7ef20b8255ce154f7deca6241b861300741ecd37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/226] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 7f6494a672c1719f7afd9b0c2e99a9d0f680dda9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/226] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From a85a07cbae832ce32e7c45d3e5069f406dbd6f90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/226] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 9ad19c802735e368f7e55491ab48c8d1539f97d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/226] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d918a443ac8e8a9e28945034899d7effc5ab3be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/226] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 7718c60004905a8e297c65c7f67d59d7f680a2d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/226] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From a6debd49525aa9f3f3f0ee15fd62b2a9ed4a807e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/226] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From fa88f3a2b31890bf55e1a76f08b9a960884686b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/226] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From b9929f150272410f1c8d608beae8292412cfabf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/226] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 281d788c5d54756771b5e20eb8b0f7792700a793 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/226] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 8e1f9358ec6f6460817dee8d8708e51d78d303ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/226] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 33644f63d681b20bd8bb71df6f5b654642b8c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/226] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From baf57ab1563f28cdc6c9f98c69cca3705390e541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/226] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 5e561220a589443e9f8d38eb2fc905e8c4f662a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/226] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From c80f073212edc70a039e59d6b7d9088a1d0c0758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/226] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 92cd506651f6bd888853ae8464f59d975cf2f83b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/226] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 1b025a39ec9a31ba8b101e0455666e99a73d6b26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/226] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8b4c00b24370922bbfd4b1f2becede5e3cadbd73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/226] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From f2fe444a00a3b79de9bd273f22731545dbe73548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/226] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From e016892d8ce6fdd84a89e0eb8f4da95e4bd0f735 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/226] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e501fd8e2c34df0b89469cdc3f54baf90c9e7d7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/226] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 959a7863a8a10289ed2dde8c35dafd294aeb1a50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/226] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 6df8904e748ae66c8efe9531de0967b3966e6a54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/226] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ca223085d2b655dc49568d9b3bedf159b4a1d97b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/226] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b4b62f4c55089fa98239f5a3b26785b314a1668e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/226] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 7da19f7f4e4c7129680d178786f067305525bba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/226] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From b418ec5858b167c3cf00ca9198dd9b572d22f98c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/226] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From ef3cbbe928e9b7ac8505752f6d56358c12f577ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/226] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From f02f8c6a952022ff784c23fdce9279e50e5879d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/226] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 5e05ad449c7bf1f6b65fc62b2d06fb2f5bfdfa7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/226] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 2d765bfa9e45b2a2f47fc4b53b688358747568af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/226] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From d34304150d6c83af959ecc58ea6994fdd0513f63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/226] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From f5b19c69d6fe5991b13f4822c4e6a74b924b6142 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/226] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From e7e46abe6810aae7a7602adf91f9ac5698979040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/226] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From f67a2793ac88057d272024ba448fb71bcc4d4b4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/226] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 1f306021315263b329e230241740aaf391f8514a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/226] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 4a1998c6d459bd8d5d4b93c22f30a0f2e7cbe417 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/226] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 80bf051363e6417d994402038c68120c5a488b55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/226] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 0281b9e4e0e9f62ad55445dba144b647590b4c53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/226] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From fcc8b3bacef9f2f586d3926ea0dbeaa917351d15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/226] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 6bf4090860167a7bf651a8ee9e25b25ef5dd568a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/226] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From f0dcc8b627935e4313ccf51a83df20e1ef4a937f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/226] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 52cdfc3cf533399d7a122d2ddbbf9c34a513610b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/226] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 9c08fa62246951fe382a0265e885d0ababc68baf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/226] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 31f2771b65f910af0025d90d3ca08fc33549867c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/226] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From c106b6139e998231c607eac37478bfb5efb9e2ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/226] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 43635481421ac0e043fdc19db0009439986d6d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/226] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 2df3241e6746d59fbda6d6ae1f80e188812f00bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/226] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From fe7d05b2eccdd2772326c40486a6a9164a6b2acd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/226] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From b76d6fc731af355ce607d89efc000446813668cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/226] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 29982c9e4fa51ff41d0b814efcbdf2943b81bbf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/226] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From ca2ec7b0324ef78f558c68cf3e57966d8888985c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/226] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/template | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..11cbb160968 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"
@@ -198,6 +198,8 @@ do_configure() {
 			CXXFLAGS+=" -Os"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 85fb2dab5ffd257f21e2c23d268a4947c1bd28c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/226] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From bf0c2da55c43454181ceafe5aca2aebe380f981b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/226] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 437e74c67d49581c372c266f63f8ca627b714b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/226] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 8e62167e30d452181a56fea67334c44e1309dbc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/226] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 5bf6ead95cbb2f85bc6723a36a119160a590647d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/226] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From e05dde4f3b6bdd6f13b97946b4fccb21f795f70a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 153/226] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 22938de809d4574b349f6e14dae54e5552406293 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/226] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From ec5b96a55d640342227d892100edd42ed461e31e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 155/226] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From d3d1da1e0ad20dc63e8ab595898fda1fc12adeeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/226] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 1cc3e854feaa70fe26649a2bc4c5e79ef507895f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/226] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From e5e9e44d012de4964ef502812dd929f25ccd2364 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/226] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From bbdb0813d1a19a065aaa7dded653dea077d0c8cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/226] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 79ad7ab1fa0f769bfcc6ab78e66489a8fe810e73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/226] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 659948f3d277374e110a773325bebde1758834b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/226] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From cb992f5c1d238ef74789a9c5dc4238aa8fb44f23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/226] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 7d5e64210d18d3b9539c0c191c5754e2fabca696 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/226] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 17dd06c91171f7b3ea6885c1d54bd2e3194f99f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/226] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From b661003f4996f47bb11ab98836646d1db34f36fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 165/226] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From fa5fb75dd1057704bd02fd19c5e073321b883702 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 166/226] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From ae6e54b14f85d2efdc693a6d5dc6a478c0a8aa25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 167/226] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 8d4c48c11eb531c74e985406d15aa6cc54c3dc53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/226] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 3e6be39a922dd09d67c91d006724f858645a3dd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/226] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 553404d499879a6c328920421467218c051f00f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 170/226] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 691efeb9e906a0fef327acbf847f63327e125efe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 171/226] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 0da5f1672b50530c6a656279ffce1d0889b0f136 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 172/226] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 55611110107f02c36f14f2acd47289d2acb46cbb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 173/226] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 43a268b5094339480e64d51c2cebf6ddbbbda4c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/226] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 273285216b19792142fe4e2e44f4e443dd519247 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 175/226] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a4191e407c27af52bcaa616a57ebb8e695d70142 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 176/226] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 43c9fd34375194213039ebfe7bf0840c655ea67c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 177/226] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From d719f03f18cb147f2c24b8684e9cd00ad4ab72bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 178/226] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 2472c4f5b9ecf7ace417742b8d83763617df20fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 179/226] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 4d9a9b56299ec001de4a0aa633217fde0c68670b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 180/226] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From c93138401917e9e9ae7c95fb1435e0b65bcf3f85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/226] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 2ae6a62d9cb8b8431df79463197786b92f1413df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 182/226] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 28514d4095e939e7e47f363f4551dc5969b6d525 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 183/226] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From a9d78fba3ebdf6cac1a10562756a117bbb4185b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 184/226] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 77fb5ac672e6ce6b921fa46ba54d0fb964435c8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/226] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 3cde7acecba7b524bff8443f0713236fb7b03453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/226] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From c5bf85c287491fab0f9269f86dead8400427b47c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 187/226] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 74e890660527148826299a48cfc90773b5684957 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 188/226] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 43f3aa1739c94f972bc231e31bd6baaa693ebc53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 189/226] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 712d266c7b03d35ba64fb97edddf24e81552d838 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 190/226] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 04d057b1e75150f0d124240238bc53efb81de72b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 191/226] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 43ef6babff472c3b29db1bb4c218e7dce4a7159c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 192/226] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 5c6a96c1989fc35025ffc49cf1bac005a9adf9e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 193/226] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From a84e70beecce57494bf5cd6218796f1ad77cf797 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 194/226] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 24e72358854f4f53a177e8a4d07ee02766b4473e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 195/226] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 0ffdd136979d9f89436a67b9f95e64f7f34228b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/226] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 0b768a9f94169ca7ffd129a7c547b0f6b93ef073 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 197/226] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 1455cc4fbe75a98a040a113100e32df0f1eb1832 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 198/226] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 554ca1a96ec7a4a09549bde4d031340a54c4e6e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 199/226] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From b17e76670c2710b2d188f60a19160047936f6b2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 200/226] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c802f1cb933be9174b71556453438adcfbeb0428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 201/226] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From b44ce0956942ba5b434f3dbaeb1af668e660c47d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 202/226] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From fe6ebd4630583d3686161e8579bde25c84ff225a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 203/226] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From d8cb321c002e043b7131e9b312d03400a17b94b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 204/226] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 582f2261a54f38e2c5adfc57e6913965e2b503ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 205/226] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 9670df3964328ca5e95d1e441d828bc7fc3819bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 206/226] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 98aaed9b712f995e7ee717101d769de1261ba954 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 207/226] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 8ce585b483cc4b7251e0a90138469b2deab81539 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 208/226] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 96a9142eaebeed5b196e5aff413276ad2039fe05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 209/226] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 srcpkgs/vtk/template | 32 ++++----------------------------
 1 file changed, 4 insertions(+), 28 deletions(-)

diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 908dcd5bc51bbd23be99eeb10bfef3c6bb1c0c4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 210/226] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From af11e1399e75b07ca034ddc7bc73d2d7dbba55a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 211/226] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 21a517fa6bd4f18d61cfafd39f2bade052e17ab4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 212/226] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 14f8139979f8122d35c47b60e1993ac1891e28f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 213/226] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From d0a4477f609e734aa17f2ca4ae0fd85fa48083eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 214/226] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9c4b3d7408f5089f79224be3b6e0faef02abeca6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 215/226] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 745bfc0b4fe055e3b0be5224fe46dc7e2f665174 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 216/226] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From c9426df9620fb5e5e97f53f475fc373b60ecfd5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 217/226] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From bb4a5a178bb55fc2b396ea15f2c1a541f11c4ffe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 218/226] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From f3a40a3028176160c76afc75bf786ad2fc0ae341 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 219/226] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 0124ab417e4eefbfa20a94d3d3314dbc44f7f1f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 220/226] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From a53348afca5e5dab221cc29a7688b4b957758f5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 221/226] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 0c736a9cac3f4755924f10f75321c35e0e4a2bb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 222/226] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 4ea98c5e1032aba1c9a6fda48c834c32e86743e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 223/226] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From f36ff94b4eda88e4dcce6fe83c0c1753e69ddebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 224/226] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From f7ddb9fd17e9012bea4069f588ed110accd55a8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 225/226] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From dbdacd8f0cb4a190e55634097e339e7f2be1821b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 226/226] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (22 preceding siblings ...)
  2020-08-18 21:18 ` pullmoll
@ 2020-08-18 21:38 ` pullmoll
  2020-08-18 21:41 ` pullmoll
                   ` (29 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 21:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 208788 bytes --]

From cfb7377c1d140bdf61705d8dedb3ba5161c90a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/226] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 003e1ee4b527db1647783a8a7b64f32af3616bfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/226] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0b99b046a50a05b3b7db096636060bb61016a71e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/226] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ade08825a1d3eb59656ec531544c1e7d3958478e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/226] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 3612d60078b9e81c08c54ee3dcccf85310ea6edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/226] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From d95a1370e7b96d6361af0cf272540db7e6f7dc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/226] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 877b4894f7c9303404ce2e74e4f3d7a94636a92a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/226] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 988a5969c84cbced200083c34cd870e6416e6bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/226] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 5dd816bcd275fef320970845255772371ced1003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/226] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 958f749def62a22e3a877db7052eb882044ac800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/226] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From b8b53896c6aa89dde593f6ce7273e3570b45b9ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/226] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a5a67fddf349ae1ffc42d8f3b8de1e499c1e526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/226] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From f242abfe5b795d4bce50c4a22c627f2554fb2046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/226] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From dd472fd0e6e3bbdfb0e20e0a9b541af7a1eca855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/226] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From bdfd05aebda1301db5cd2ffc7539d69238598bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/226] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 26e86c4baa1bab3104eddec09cba36d3e2e58cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/226] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c91e249ac5927019c88b42ed30259fa7212d5a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/226] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 34261582bc034b748bd59e47b4e2bbfa8743e31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/226] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5517d8cfd0b5955964c19df946eb62dd29e0450a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/226] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 484fb257bf5154de89c9cd0114dadb8c1943c070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/226] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8651388a51ff1e124598a51d9eeedc55bbdfcb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/226] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 20227fbc9a45c6eb39c02f4c2e77f7eb51aed715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/226] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 7124577f07879f3c23f7a8ba3cddfbf4b2d1e6b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/226] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4175b14facde26d77fb5315c2f15f46771f8a71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/226] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From d11abac48db57e6b3718a14a4a53cb1487b6d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/226] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From d7c588997769733043ff271a0132b0b1f0b600ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/226] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From e2311e4989cfb7c8e2a5e54306fb2fee719ddd67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/226] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 902789da414ff4e41a59f07be7430436eda79d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/226] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From c8f6a2b00bc16afc9be21f7cb12b12dd848f72f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/226] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 0837a44937b1ed008e63ddd664f94bbc4971238c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/226] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 87ea825e10e3d2c2702db2c99009f5cc8c85b6cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/226] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 1280a797269a3209d273710461e926ca59a0a7f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/226] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From e6511e11fe5521ac71bdb64bc3bae82b7149e52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/226] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 6a07498a80cf9e6a7a791a44a4283055ade2dd39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/226] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 84c4bdcdf18f08b5e5237e36117939473ed6b6f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/226] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6f4d62503ee8452c1737424d176b3e0942318940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/226] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 37e0c0563bc7b3d2b40596c22b6f068e0ef4f617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/226] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 436537c48f59106e7aea0c2b95868327d3bee087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/226] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a1bfe02794f6a6900fba15c99e9194a78aefc9c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/226] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 69ef50c3bccae6b73278d69b5c6593ea9e788ee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/226] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2e511fbc936330e8c4a8c358675d337b77d63133 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/226] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 8f1bd43a30d06f42638e056414b94f785d7d25af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/226] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From c8eb18bf7463279cb66b9f92f89d3199acfe3b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/226] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 31c0f9dd89320421c7ef47fbcedb629519b90d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/226] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 114cfe72deabb443ee0f073ee17f475a2d32114a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/226] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a8b33a30069f3b777a0a4bf7cc251ef749db0558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/226] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 5d7ad9608817d24391c12e51ca5255cad9c3effa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/226] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 087208b5d3301fe38819fbba4f5f2daa4baf3a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/226] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From fabe9ad0433eb760c1ae9957722a575495f2c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/226] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 820eae3a18cf33514aa7048464b11a3f3627e16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/226] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5a732f19709079252d8254053866fc6afb75d5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/226] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f7a8e549aaf7ff5f13adec4185b141d3705f6bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/226] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 3b4bdb43e9dad5a7327daa5ce3c8632d51022d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/226] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 8b9686edf0b066d14782642a614d094f6aafaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/226] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From c93caa6351b0f45f27f08237e80d1cc7761f2743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/226] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From a8a1cb036ece23b40f895a20b0faada34f9b6b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/226] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 99794b1ff40255843945db3afb4a9caed2a6de5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/226] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From d69bfd5663dc4d4d81ed92dd682acc4bf85f5d10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/226] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From d8f37e9ce0a3abc10f17b026211f02270d1f77ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/226] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1076ca4eb6bf90e55f3cc6e23a79a2b1e8ef8ced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/226] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 21678947b47924eb1f0b038783f0e06cbb77022f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/226] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 73bc12862797b288e16305e393e7dfbeab25dd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/226] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 91cb4b05429dcb9833bb3dc1e6f2199495b6a5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/226] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 9f6e72eae5afd4a6ce2993be25699749734bce9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/226] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From b94119c4a6d98d4b3f1a7c423ce7453c98807e65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/226] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From dad431d9bd7a6c061bf734c96a88e5b9a8700ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/226] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From ffdfd9717ff781084a8cd54ba0b50a4264223c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/226] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 635781cfefa6b14a36f4a4ca09a33b590384ad94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/226] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 586f76fb7c6d0c779f3c092cfa025a70e16ee2a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/226] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From aef508eed5d24853b66f9398227c9be5e773db63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/226] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From fe596231aafbb6cbfdd759398f19085b8fdb5b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/226] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 07c093068c1baa4f975eef4141af9b559e0b64a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/226] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cf65838f8658e9404c4cd2f1e9ce220cf07e1284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/226] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4d7154f23089b910fec7004ca914d57efd2ea651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/226] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From e8bb3f4a9a5609f95179c60a872982ad508ea173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/226] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a8dfef28333bbbb88a10a14d6ae3520bfd31dfc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/226] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a41a16a79f8d157f8a73bda3aeaa6236d503a1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/226] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 81c8b3e0a1424b1f49962d1a67244058f9cffe15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/226] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 26a5f56e1a38e62039bcb9eead2966ba25537562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/226] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 6361e13eb1e9a8c6ce26d45fc9f0421d8d7a24e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/226] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 00ab5099dc7e450321c35ad8e09eeed4816a40fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/226] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8d1e0c0620cf82299dd0b6f321a1fd45bc8a8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/226] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 248211a1e32613a5026a195adc56389e4705bce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/226] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0dc5df77f35f135cc404c3f15239a363977c9a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/226] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8ea78cc9b6c81784f12003d6b5fcd262b27ee09a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/226] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f40ced96e92e2a6ca1d7baf99d8c048a5c24c1d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/226] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d0886a7a114ed2db3bc53ee2b2bfaafe18847442 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/226] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7d0db4a07a5a0cd8625579fbfc05d184a7006317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/226] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c13c900cde17fd2b1e109b5315fe4eb665350167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/226] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 8768ae606e8775558f792c8e1192efabdd89fc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/226] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 49bc6d35c11d29aed15c3009b8fbe94b5e70a040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/226] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From afbf100336474788d6990d8a80d38c3c0ca928a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/226] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From b39b63175132562d3633b071e50f30511d8b0758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/226] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From a4de6e673861ac71b92582aa1c5e5a4ab3f3021c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/226] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 2e29f8e9ba0290335e91b44bb241755dddcf215b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/226] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 7ef20b8255ce154f7deca6241b861300741ecd37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/226] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 7f6494a672c1719f7afd9b0c2e99a9d0f680dda9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/226] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From a85a07cbae832ce32e7c45d3e5069f406dbd6f90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/226] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 9ad19c802735e368f7e55491ab48c8d1539f97d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/226] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From d918a443ac8e8a9e28945034899d7effc5ab3be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/226] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 7718c60004905a8e297c65c7f67d59d7f680a2d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/226] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From a6debd49525aa9f3f3f0ee15fd62b2a9ed4a807e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/226] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From fa88f3a2b31890bf55e1a76f08b9a960884686b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/226] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From b9929f150272410f1c8d608beae8292412cfabf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/226] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 281d788c5d54756771b5e20eb8b0f7792700a793 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/226] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 8e1f9358ec6f6460817dee8d8708e51d78d303ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/226] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 33644f63d681b20bd8bb71df6f5b654642b8c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/226] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From baf57ab1563f28cdc6c9f98c69cca3705390e541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/226] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 5e561220a589443e9f8d38eb2fc905e8c4f662a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/226] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From c80f073212edc70a039e59d6b7d9088a1d0c0758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/226] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 92cd506651f6bd888853ae8464f59d975cf2f83b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/226] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 1b025a39ec9a31ba8b101e0455666e99a73d6b26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/226] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8b4c00b24370922bbfd4b1f2becede5e3cadbd73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/226] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From f2fe444a00a3b79de9bd273f22731545dbe73548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/226] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From e016892d8ce6fdd84a89e0eb8f4da95e4bd0f735 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/226] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e501fd8e2c34df0b89469cdc3f54baf90c9e7d7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/226] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 959a7863a8a10289ed2dde8c35dafd294aeb1a50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/226] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 6df8904e748ae66c8efe9531de0967b3966e6a54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/226] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ca223085d2b655dc49568d9b3bedf159b4a1d97b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/226] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b4b62f4c55089fa98239f5a3b26785b314a1668e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/226] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 7da19f7f4e4c7129680d178786f067305525bba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/226] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From b418ec5858b167c3cf00ca9198dd9b572d22f98c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/226] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From ef3cbbe928e9b7ac8505752f6d56358c12f577ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/226] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From f02f8c6a952022ff784c23fdce9279e50e5879d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/226] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 5e05ad449c7bf1f6b65fc62b2d06fb2f5bfdfa7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/226] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 2d765bfa9e45b2a2f47fc4b53b688358747568af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/226] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From d34304150d6c83af959ecc58ea6994fdd0513f63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/226] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From f5b19c69d6fe5991b13f4822c4e6a74b924b6142 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/226] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From e7e46abe6810aae7a7602adf91f9ac5698979040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/226] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From f67a2793ac88057d272024ba448fb71bcc4d4b4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/226] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 1f306021315263b329e230241740aaf391f8514a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/226] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 4a1998c6d459bd8d5d4b93c22f30a0f2e7cbe417 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/226] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 80bf051363e6417d994402038c68120c5a488b55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/226] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 0281b9e4e0e9f62ad55445dba144b647590b4c53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/226] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From fcc8b3bacef9f2f586d3926ea0dbeaa917351d15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/226] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 6bf4090860167a7bf651a8ee9e25b25ef5dd568a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/226] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From f0dcc8b627935e4313ccf51a83df20e1ef4a937f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/226] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 52cdfc3cf533399d7a122d2ddbbf9c34a513610b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/226] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 9c08fa62246951fe382a0265e885d0ababc68baf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/226] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 31f2771b65f910af0025d90d3ca08fc33549867c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/226] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From c106b6139e998231c607eac37478bfb5efb9e2ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/226] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 43635481421ac0e043fdc19db0009439986d6d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/226] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 2df3241e6746d59fbda6d6ae1f80e188812f00bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/226] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From fe7d05b2eccdd2772326c40486a6a9164a6b2acd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/226] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From b76d6fc731af355ce607d89efc000446813668cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/226] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 29982c9e4fa51ff41d0b814efcbdf2943b81bbf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/226] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 384c53b056e63297a917387df3db70155f57b383 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/226] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/template | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 1fecf311209e2ffb3ea692751b63899543268a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/226] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c78a0d784828b6fddf8e3d2413d3afe029a3d967 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/226] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 05cb519c787c11878e343005a445eb9ab6b6a95a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/226] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From b8e7d7cb48c2b5fbc06600601925cde08cbc29ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/226] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 35bbbaaeff3422a305de4a3a2a4500331cbda111 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/226] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 29e082a54ec6242723a05517489dae9c36d9a1f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 153/226] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 07c61f7b2f3fdfdc2d2094db816a337b654cd156 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/226] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From bfe54e1de0c6c3d908aee379c516ac090b5e8b8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 155/226] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From fee29e91acdcee66d9a7b2c570ed4128ea690b9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/226] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 55ea11ea04bb46d91e89da29781129110eb94bbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/226] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 89989b1ccfaf6fd5040dd1cc195acb42771c613f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/226] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8ab62233c20240dabd99a05901af96f54ada22dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/226] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From ab427bbae59eed76bad1ea1fe7370dd6f7b3af39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/226] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 3b4565f717de5e541b269dda2fdec0b3c73b7620 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/226] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From abcf62c01b2c146c041616b0c61f89baad1d4c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/226] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 6ab2020d68c8f0d1d789e70a27a2c144e54fa613 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/226] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 5b444108ab50cbcb7c3a890749872caf21a58ab6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/226] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From f6a40dee68393ca91241dbb66674f74e028b8b88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 165/226] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 53e4f6e3137da4dfe4528a0c54ff6b0be61e909a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 166/226] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 44a8a4422934ed457b9b696172838ff4ef31879b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 167/226] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 625ef4014f69493045441000565edfeec819c652 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/226] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From edd63fae02588231e45c408e1465ea68a564d301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/226] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 1157e08aea3cb5566a4ffd6ac2e99593b28e3255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 170/226] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 87026784800d56eaa845cfb06fa94827abdbbdc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 171/226] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ac7f6d32e40e276dd8324b9da326a97b44699ff1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 172/226] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From d7085d8e5baa82cae694ec08228653cc9abdefa6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 173/226] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 3fea00d981846c1c105a51fb280aba8ab9290208 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/226] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 1ddfe53cb058d843da437f851ea27d7dd6214a1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 175/226] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 499fa3807ed7b55d4dd76239ab9446745efd96b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 176/226] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 509ccb019f2cbbb898695b84a7576503f583ef63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 177/226] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 6ef1ae574e50d145f4a767790b64c8d153e0e6c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 178/226] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 02ee7a70bb55ec9a41ccb57f9b3325c3ed4373b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 179/226] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From ede7c53775e5b0350d770f3184af27c2d2431d49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 180/226] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 7070dbe7fd54a22ffff29bd8ae406555e30383de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/226] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 093f1f4583fd2bb90843e53cf1183ca1b6b17006 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 182/226] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 0d4a416710f8f2de5179b736925354640e4816bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 183/226] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 7f518142118942a175414355c4b4d51a4448dea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 184/226] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 7ff0d78d06e078450193340134e593d89c6a0b5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/226] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 83116e8a87bedc78040ea734bad682bc1e80f519 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/226] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3a573016ad12af1f764c6f705f7a43bbbc1022e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 187/226] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 5f78fefe345f3d9abb02978a384b2efc310d2f7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 188/226] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 56fe18426c30c5455a4a17191cca3ff428b548fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 189/226] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 53fac6f32a373b99b680b56f67814587bccb5495 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 190/226] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From b0891ba6072dec2e94fb6473447f322013873934 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 191/226] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 3889bbf877517f73a93cd58f279cd9068e7787e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 192/226] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From e678bdf14b60807f5440822905ea4e14cfbaec31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 193/226] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 8746c2472838f08d2d29a2c8bf265c70176878a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 194/226] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 184c8b175b1e388174f24a9f25861020b2898a4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 195/226] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From e73810db0b9a8b89b1cf16ffcf95101ef96d7777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/226] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From c40389290396107bd3b3b7912c6118f123ef8704 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 197/226] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 8989476c5754118a8a50bcb83c5110b64e29f11f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 198/226] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From fe0c86dd2cb04c1850892556f1d8408e1e253574 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 199/226] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 3d57a97b11e6d7d570b276393fffb31a54e6df21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 200/226] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 70995cad622c58036e310c1ec9fa3348652de43a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 201/226] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 2642afecbcb359cc9d6a033c51886b80e23179ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 202/226] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 33234f952356c89f7e8f0a03f5c8fb8071b2d990 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 203/226] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 29bfc2bd3187009ea654eb4d24299f60a817b193 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 204/226] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 7d3cf657d118d81609d723d4cb84c0d46c35b448 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 205/226] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 8e881e41877b9a1967c09b07883dcf0ffb293b7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 206/226] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 2d51ed820526f5040bd89f48a9fbf9cd40155e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 207/226] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 62f05816e48a71b66dec8bacc10ed9652977943e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 208/226] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 70d17e9233f148118ab94d5b28795549c225a5c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 209/226] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 217 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 112 insertions(+), 137 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 2705f73b0d5..45a6f25bac9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -57,7 +57,7 @@ libcc1plugin.so.0 gcc-6.2.1_1
 libitm.so.1 libitm-4.7.3_1
 liblto_plugin.so.0 gcc-4.7.3_1
 libgcc_s.so.1 libgcc-4.4.0_1
-libgo.so.14 libgo-9.1.0_1
+libgo.so.16 libgo-10.2.0_1
 libmpx.so.2 libmpx-6.2.1_1
 libmpxwrappers.so.2 libmpx-6.2.1_1
 libperl.so.5.30 perl-5.30.0_1
@@ -872,8 +872,8 @@ libgdkmm-2.4.so.1 gtkmm2-2.24.0_1
 libgtkmm-2.4.so.1 gtkmm2-2.24.0_1
 libquadmath.so.0 libquadmath-4.4.0_1
 libgfortran.so.5 libgfortran-8.2.0_1
-libgnarl-9.so libada-9.1.0_1
-libgnat-9.so libada-9.1.0_1
+libgnarl-10.so libada-10.2.0_1
+libgnat-10.so libada-10.2.0_1
 libmozjs185.so.1.0 js-1.8.5_1
 libwebp.so.7 libwebp-0.6.0_1
 libwebpmux.so.3 libwebp-0.6.0_1
@@ -1744,7 +1744,7 @@ libextractor_common.so.1 libextractor-1.1_1
 libpano13.so.3 libpano13-2.9.19_1
 libubsan.so.1 libsanitizer-8.2.0_1
 libtsan.so.0 libsanitizer-6.3.0_1
-libasan.so.5 libsanitizer-8.2.0_1
+libasan.so.6 libsanitizer-10.2.0_1
 liblsan.so.0 libsanitizer-6.3.0_1
 libvtv.so.0 libvtv-6.3.0_1
 libatomic.so.1 libatomic-4.9.0_1
@@ -3293,110 +3293,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
@@ -3980,4 +3980,3 @@ libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
 libneatvnc.so.0 neatvnc-0.2.0_1
-libtdjson.so.1.6.0 libtd-1.6.0_1
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 855af596a37c6820d0b185103f4713aa8c17251c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 210/226] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 3e43b18ffb9f7275edde497efcf5de3bd780dfe2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 211/226] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 16439ebce88e678965c60f18d0523d72947ea2ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 212/226] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From b46e3aa5d245475ce5b50a9d0ee1fcbbacab3e7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 213/226] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 8aa993771ceba75f9b6a9196877a1c39420616c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 214/226] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 797a4ea75eb24df86f0319f8154396c6ac256b3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 215/226] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 5842e9e7354cb404ed4818930c1b694fa5616e49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 216/226] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From fb8ef2552532d7defc65c884da05366892b34118 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 217/226] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From b78e3ddad125e34b07abb7a8ef3cb019f14ccd32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 218/226] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From ccf9ce3d82cb231b84ff355e2905329aa9eb5a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 219/226] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From def10637798c7349112b78fff0d4106bc5f78b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 220/226] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From bcd7a938d8aad1d3534424c2cc454b1b4e12db6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 221/226] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 7cb75352c5fd2ec983e6a10e98e6407bdbe1ee27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 222/226] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From fb7f884d7da4c5056930c69adb09b93631f7c185 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 223/226] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 3ccd55efd5b6027e510cbef066945916716ee0a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 224/226] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 494d5fcef4c10295d3fd1e0ced536ebe92099259 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 225/226] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From e1a899c0248c9b89c03081e626f07e03105d297b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 226/226] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (23 preceding siblings ...)
  2020-08-18 21:38 ` pullmoll
@ 2020-08-18 21:41 ` pullmoll
  2020-08-18 21:42 ` pullmoll
                   ` (28 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 21:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 208098 bytes --]

From 813b367da12f34755d68e6b64089b26354fd5151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/226] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 397e9c22e097042105d694d7d8fa00ce4d0bf0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/226] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 33c0d0e19531f46c00ac0bbad0a6511724b72218 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/226] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2bde2566e12feddf3ccb34920d23231ee8d0a76e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/226] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 43c19657326f55e303224c22f9f03137dce8b150 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/226] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 7a6fe68b533f9507b3e5aa5e8d930ec55ac47662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/226] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 9c49d327c5c33ce0ea905f5773ad8ffb7f5a6406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/226] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 597368074f260f51c74893874052b02c85ce5849 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/226] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From b533c99a4b2cf2693762e7084f41311ab1223d54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/226] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 34962350d4cd486c94baa43c69423c691ecc8b7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/226] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 348b6ae3e5eaee4607d860a84c7e41034fb47f03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/226] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 3ea0751cfe0f7707e4d19b8b9b603b06b7703996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/226] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From c4f7506bc18571c7bffee46fa97e334a1ccb2bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/226] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 366f5d3eba9cba9f0cc3f15d547fa00ea42d52c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/226] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0a6065e330fdcb932b27c78db3de5d856878aa55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/226] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0785a548282c87692ed56ad0e3dde72c33f9d31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/226] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c01f13cda2148e6b40e7c39c9db7409cd5c0fe53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/226] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 0758ca979d33c0c1bdae92967b5b9f05742c7bda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/226] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3e25e9ad7bc033ff2bbba62c74f139e753db80c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/226] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6307b61466c1635ba2ac41a4d543b105c4c8f81b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/226] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From b6450ae0b46592f89d8626902e4fc75458bacf1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/226] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8581c42f5b42b1026bb211bddf0b76148ab7f877 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/226] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 91360831cf69de1d7fc75abff83ef4c9b41fcebb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/226] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4ba8ef7e2755011be302df400fedafe29c463874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/226] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From abd0e0c24f8fe81f23b0eb302e41104ece431b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/226] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7387bfcebfaba71e9e70a2b9de7df48c927b2c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/226] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 622e7287227846ebddbb9626604e641e03c6ec48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/226] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0d79bc0d63b19426488cddf9a8ebd8d75189883b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/226] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 4280834ca775fafe52244a5af2867f1110ed9286 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/226] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5226ebf276524d35cdf0496e30a18583fe196cdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/226] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b9dcafe584d529609a26e506bf5a9d5f5698aed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/226] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c97583e25395291b125b7a42d71e5b234e472b77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/226] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 4876b595df21077d7066c30148fba3735d2b332f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/226] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 7c822f78b275a05a015658a8fbe7f2095893ef36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/226] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From ea9b97321d02c2248371cf65f800edf646a066d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/226] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f90eba50d23f8873e89c83ddbfd862e39b5e4bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/226] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From d9b35e2f07391a36198f2edbd4c004bb4a911bee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/226] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 3c39bf9524132059ad2a73520c87e1da675965ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/226] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 808c951481843a03e8c1ca8750a3ce0ff9d29a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/226] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 7e1fe2185ae4f0736c96b06208d68ae2de09c10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/226] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 859062650653af69879e522d5c809ca06dece870 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/226] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From a36526b78a9151c19b9981e911327123c71065d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/226] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 42b6972d65c7f3e54e213c6d99853f3f8cdbf8b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/226] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From d68a82bc505791dcc71bc91b29ca5daec11bc432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/226] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 476cea7afa1c874866e2fb2e31ba4236bd792634 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/226] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 11b2468b183885e70fe367281358aa29801529ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/226] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 1a7ee4568069f161b1af80e1a0d09421431302d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/226] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 656d893e599f3817365dc250f38c6894a3984d0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/226] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From bca3949e4ee14add088bff0cc3a459abd7273b6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/226] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 8fce50ccdd7e03d8691d3c6817ffbbd773e5a6a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/226] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 91ce6546cee81e0d311d40dc1da93da4540148ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/226] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 54d515d51ba2dfa7a155bffe5ab6425772bea34b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/226] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 8ec5d7fae77165566e0672e5de92269eb39aebb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/226] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 3064e063601c765e1c410bba819a7771ea81e04b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/226] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From d420edfb479d201f180fe3efabc43c9b0b6cabdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/226] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 241934deca88185087724fd2ae2de1a421f7b98f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/226] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From a380283dbf73022ce92fe14f00125947a9be60e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/226] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 1d7af605fb4f23b8c630480cee7e15df9c2641fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/226] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 81ac14c82f1e479cc811e5b86adb8b894c6b132a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/226] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 424fbdfbd0b5e9bcd6e9af34d8979a42e47ee729 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/226] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From dc65891504599a8896397fb2a604b03120dfa2fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/226] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c0de8a69448de5c177d937e182cf3bc31c4e3922 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/226] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From e51cfb729b0663d5d22db21e3a7e0d0725384bdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/226] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 20bc2b680b77f0226d3d580f84f7e192583ecac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/226] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 6371baa1776a84214ff8a0fa758aecc4dec73d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/226] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 1a1c771b8fbb34af5d32b8d3d0bca01db378b93c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/226] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 0ed0b7fead166e0ebfc0a6232251fc800442f9aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/226] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9bd6ff3817c2a5c7d33e4d8cfdedee044ed37ed6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/226] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 53aca3521ebfaa1a79e7dace71c42dd87e57cf83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/226] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 110a8017b0f3d53080a11cdd14a49325511a68ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/226] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f3980dc69d3f4d00fc24be986150748f4e90dbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/226] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 1e4b90ad6e27e6d021c6568f3853e2cd24d22d8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/226] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ed9a036f1450aab6317c6bbd617191c58673c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/226] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 61e8ea3ed7fa7b8cbda6cdd15962a3d47fe8734f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/226] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 02a682ff6c999f2f064e565d9be0b38fb061211c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/226] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 290c889cbbcd8b5b7f9c3c34a3c79d33f1f9cf84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/226] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From cba7f9edf1d71e85c570135507e4586c2012576c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/226] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 7fe876c8084b74733b36ad30feba2131d8a7b929 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/226] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 2a0bc80f9cabd3b70e5e6062c032869c282dcc63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/226] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 8c6b35738e1929e611bf6a9755f3112b243faef3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/226] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 2e2fab67b94e13cf5b8f6f67f96304d4ecaa673d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/226] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8a16fe1785c3d88b42bd1f3853aef284d3ac459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/226] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From f9eeabae45d877a540760cfbaa5a8dd216e6987d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/226] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From da20c245bf882651443f77430620cb99e678d285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/226] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 82bf5e85828ad4a989ed9611fef2fb741d03b22b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/226] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From ff345ea140bda9f7a0e9618f8ea5efd8ba49281c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/226] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From f47bf8bfd06bad49c1f89be33204fc936ce3dd01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/226] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From ab7e3df81b589cfc82ff5576a845b9f94e164405 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/226] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 31aaca641f30ccf454ebe8f779900b7fad5eb327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/226] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 46e5c75b1b5aa1f4d9ecb82e77e40fe6ab053039 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/226] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 292975301aa742fdffddd0c0c1704baaed092ea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/226] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 39f6f6f21485fa4f972fc9ba21c383fcb712f5f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/226] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 3d7ced1fa72918a8cb55fc818b5956b7a5540e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/226] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 21454d373a34797ea4a33c73fa6086fa96c7db53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/226] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 778b1cc68cfd447a0f21c7dd708f99c93cf6eefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/226] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 53fe5b1797828693e9e0f9a90dd655a41e5c71cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/226] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 3ee8eb7ced39de4ec66c5dcc1c70a5329a59aea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/226] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 376a91157107dbefdd37228fdb7eba5deb8c426d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/226] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 609e176c55cb5bb2435229e22bf223c4310ca553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/226] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 30a67b2182ea0fb0ccba7913ea49644872c538cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/226] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 1a4de6303a84ac863f9180a0d9453907cd8ef1b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/226] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 12fd3e100187b3c9e757d133c9f423bf32b09e1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/226] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 0f4202b8104305acbb7a1cef4863a4a38ce2a0e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/226] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From ba15891b054f8d360c8f5cc62fe23ac9f6a6f70d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/226] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From f1d2d39b8ec0aa6c6aea9bece3389464d67ea9a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/226] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From d182977cf95bb4bb9c0909b424937c51ebfc9f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/226] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From cce70e5042e94e8deee18d5f26f3d9b89d68384d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/226] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 0f681c52b52f21410bb0d8cc6a9119f6b8bf9e71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/226] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 079fc55105c8a98ff45ba9ed35c267f14605e4fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/226] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 8110f9f84b4b8236d98e71ac35ca74eeb5aa36c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/226] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From acf7413ef27d590cf4f559201c31a89ff295f71f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/226] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c5dda533a20b0a8a762d9e1559ec15495d690ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/226] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6052c4e2c257bb6f9e9ad455b2268c00cd9d9250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/226] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 74e246c7e7a6338263d2d07c90da506842ca8622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/226] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From c007003073463931d81cf102c4b6b58193b11dc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/226] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0178515787775aedeb81ddff9ce820264eb2d234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/226] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 11cd4743eba0eda69ebf9a2b507639725f149fc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/226] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 048b00b96f020af0007860ef03a103f32d6d2090 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/226] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ab224eb9f91fa33612e4ec37dddfb840663cdefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/226] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b39737d612a56b869e619c7240c1423363b22506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/226] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 6104d2d667dc9e1aaf9a0abfea1473e90fb91a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/226] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From ef5e9fe51e3f6a83542ff08b22469132908348f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/226] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 124e2f69b7e249f4e40837f37c72ac4eb8defcbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/226] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 4fb532cd22a29b0cd03476a04970f5548fc46de5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/226] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b3aa3960ac8e277c71d09122c03524511cc1ad80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/226] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 535f1de966503dcdb6102b8a269978da04adb5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/226] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 5a03fddada9c2a4912470d4f0c199afd37ccac33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/226] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 418247edf978c568aab95ad2c1a598e18f68c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/226] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From d384c06ca6b49fb7d5228c2c6baee62cc632babb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/226] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a485d95fc3d406329cfcf3280c9620bad16effa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/226] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From f9dc72ea8e03e1ba5779e6aece6c7455bfc76509 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/226] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f8552f0e821db6a2b72e600501cdd93ebee039f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/226] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 232cd3c85a0e22b3d7cbf88aaf1d49976c851b18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/226] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 4cba187a93f368767f944c9814fe4a74f70d1447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/226] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From ec66ba9f931d69f5e6e88f3f77ac4498447ece37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/226] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 17959b3ee81e88d0ab359330ae3523c0cd12e991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/226] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 69e9dcffd3ad213046746b03216a1bd60e4df881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/226] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 80b22e674ea04ede29b08ecf6d6bea38ddbcbba8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/226] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From cd6840a40dac04edf5805cf5710b0b85541d0421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/226] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6956dca58cb5ad9aa356066e110b550fec06edae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/226] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From f41713d363dc68fc867968c75d4f10c0a31470b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/226] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 87b0aa57cf579626810d8f5ea71e19e3e83d2260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/226] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6d3c393a0dfbe8cc69554e077a24c41689b65248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/226] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From f5275a66baa68d8eaf5f9df8c91ffce70bb7e890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/226] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3aedbcd7e927a12d236de39d3a3e0a5f8f0ec4f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/226] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 7228e914863ebbcf36f6901d0e3595382025f1af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/226] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From c37428ab20bea2444e4e0a105a0abdeab3f32853 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/226] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/template | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 4c3ef73ec0df139526c3d78009a0fe50a0895dc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/226] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 32715e9abc63ca08a2bf64ecdfee6ef191f7ba0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/226] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From c697f7b3e06d14584e732f99b60bdf88eadf4ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/226] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 1c7196b57761c478813096a6b44400e406749497 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/226] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From a0450d1f34266d73eeec5cf0bcebb0679e93dd35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/226] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From acd7e388faac3fa7107930ac911be0769d986d24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 153/226] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 82ae5a4a02a75925491b51c35993d0fcf3cf1a4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/226] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 7b8deb025ef0bbb7cdf848af5d932d37511e88b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 155/226] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 799e0f1dc80ba19ce70b4f73675f611db4f83798 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/226] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 3eb62c6b1b2bffd560aed5d12eee7cde7279f883 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/226] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From f0315660333b83cbd180673c5a825c4088d2856c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/226] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From df47213900eece3e317659354dae7b1578fecd88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/226] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From ff08412f297b76ed17106fba136efaae65d8b9df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/226] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From baf8713cc6ee11199478abc8f2d08221625985be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/226] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From fedb742cd76df69f2c5611c498886980f2ef6e4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/226] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 179c01f0fd6916a7014a85b1b7aed72b7025083f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/226] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From a0d07c0b32a6d1cdcc6da903ee0315c983f0e2e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/226] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 1c28530d23688a40d322289d0ba273684837d5b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 165/226] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From d38ba2b2056532428bcfc6dfee929a9946d38b3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 166/226] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 9c690b493afc5bf20c3336ffac1eba55fb4641a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 167/226] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 469fcdbe4f9b6d224b6cb05aa341d68d9d34f7cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/226] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 8d7bafaa39ca772c57cd71bc85787a26aa1ddebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/226] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 4bcae3f4f43bc4f5f5b30c086cadb2e140744163 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 170/226] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 83cd5b8fe2afef4291f737dfb43fc62a1737d7a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 171/226] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fb75bf27079355fae5b781d1e416316419662523 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 172/226] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 6d35d6e0338996fd5fb4df7f7c487b5ef3cc20d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 173/226] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From d17ac9bc516561198f16ff75d47e56bbd0efc344 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/226] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From d315cf7613490b617a47fd05092422447ace38b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 175/226] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 630b93f95ebe740bc565967a89f9db09fa6fcda7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 176/226] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 5d71b2e8880d0945efed1c5c352d9f1588b6abe2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 177/226] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From afe7e758a3fd8b2c11ad14f95727820b85e889d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 178/226] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From c0c16b45cea2106a57e079d215501bee8cb2ecec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 179/226] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From febf968d293d72e722fe9ddd68c177b7d638555f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 180/226] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 153e730e6b2021afa15d2b83da1349ab749050d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/226] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From e93bbc2cf71bfae3c4b34f2e3a7804851d2c2f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 182/226] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From db830ae3b539521819f7d184944ec8d9b12d3deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 183/226] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From e101c1fdcaf5b4b7b6301274c91e6c64108cf474 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 184/226] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 5f6576d81b492dff5b6d8749fb8c7af7f3fdd174 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/226] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From d5637f1c714d2e89b2e807ab9d5b19926e9410d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/226] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 44ad837721e3c22673f70a6abe4c42c5b2fcf303 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 187/226] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From dc7bbde212e4779f11a4f883c195d39af12fc17c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 188/226] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 3d8e33ea67154d5ad5377e6653a835434ec2e13a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 189/226] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 2c27ce0dde3a90abac16f32e6190a81397f113be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 190/226] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 687cd156be8c4d77c397ec27f2a1f493da45970f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 191/226] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 4877475c26abc94f17b38852e162107667558b1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 192/226] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 6eefcb60d11f86e72006b0de55be1f6ef253c4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 193/226] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 22ed513bbd3da625e4aa1f016a818a8d3e99c9ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 194/226] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 634f9a9d247f809b00fa74063cc2115f76e55b5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 195/226] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 061d9ffbca498ed642d68409c3d4eb98dd841ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/226] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 8c2aa13c086e6ff8271bcbd95d61667659a898f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 197/226] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 53d53f29f64ddbc55936c3280f23bb1bd0268984 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 198/226] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 1594f8d6e037ac09c8798d1c1a2726f2e7f11418 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 199/226] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6979ac542a4d33648063f3fc514f5414c96bbcb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 200/226] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 58f257ade56a524689306e487e70404133e9ec4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 201/226] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 74914e93a01bba3b35e4777a43387ea6a941d6cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 202/226] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 85c836f3e7285c70b5b4bd5873d679dae8ba3f89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 203/226] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From d642c859fd3d51b89d10aadadf97fec69bfbf71a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 204/226] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 218d091f900219310179d2703ae8ca94cb9b52f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 205/226] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 5ddb2d58286282552e5401adcb2d46ca6b873fdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 206/226] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 13792e17085f0cbfa9acf349b64926f52a0fe3fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 207/226] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 4c602e41d629e005a61d675e7d376849b18ea0e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 208/226] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From fd396ade71026fb48159647b155190f858ef9386 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 209/226] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 212 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 110 insertions(+), 134 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 2705f73b0d5..2383daca32c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -57,7 +57,7 @@ libcc1plugin.so.0 gcc-6.2.1_1
 libitm.so.1 libitm-4.7.3_1
 liblto_plugin.so.0 gcc-4.7.3_1
 libgcc_s.so.1 libgcc-4.4.0_1
-libgo.so.14 libgo-9.1.0_1
+libgo.so.16 libgo-10.2.0_1
 libmpx.so.2 libmpx-6.2.1_1
 libmpxwrappers.so.2 libmpx-6.2.1_1
 libperl.so.5.30 perl-5.30.0_1
@@ -3293,110 +3293,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
@@ -3980,4 +3980,4 @@ libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
 libneatvnc.so.0 neatvnc-0.2.0_1
-libtdjson.so.1.6.0 libtd-1.6.0_1
+libtdjson.1.6.0 libtd-1.6.0_1
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From dfb157848ab631c66a6fbe00aba6f92f7af0d8c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 210/226] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From f248d9012ef1d664afbfe4962de516d352498c50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 211/226] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From f25ba3b4fcfdfa0edba7ad05e54cde90bd7a6dfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 212/226] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 1c6c44700c4c469d0eec10576d0819cb3d6b8497 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 213/226] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From d21c937d78f91ac57867de8c4dccd759e5f25aca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 214/226] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3dac36242b1ae047a21ddf4f6921dee7962f57c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 215/226] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 6ea814e0f981d89e7de87d5b37e035b062b0d785 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 216/226] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 1334a4e9a4116cb201e3cf8e06e5852614437637 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 217/226] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 250c86af43712e2022808a8939929556cb42bd0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 218/226] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 01919f88cad7c4f8a2a907b4a33f8d662c8f4bd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 219/226] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 19499afcb5251f39a3c859f7d531812d3e6a5ff6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 220/226] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From c758334366be57bddddbe408fab41ba9f3a681a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 221/226] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 0045b22829097480c7dfa566367ddbb988f00a62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 222/226] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From c3785a5a449bff5d8034316ceffdde90315a8580 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 223/226] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 4c7ab4d24bbe3bff465b10239a5f1c734f46b24b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 224/226] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 98d54bc132fc115b7df779863d872428217133f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 225/226] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From dcda9be341551b1771fff94449380a5b8a8bb015 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 226/226] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (24 preceding siblings ...)
  2020-08-18 21:41 ` pullmoll
@ 2020-08-18 21:42 ` pullmoll
  2020-08-18 21:42 ` pullmoll
                   ` (27 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 21:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 207810 bytes --]

From 813b367da12f34755d68e6b64089b26354fd5151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/226] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 397e9c22e097042105d694d7d8fa00ce4d0bf0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/226] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 33c0d0e19531f46c00ac0bbad0a6511724b72218 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/226] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2bde2566e12feddf3ccb34920d23231ee8d0a76e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/226] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 43c19657326f55e303224c22f9f03137dce8b150 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/226] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 7a6fe68b533f9507b3e5aa5e8d930ec55ac47662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/226] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 9c49d327c5c33ce0ea905f5773ad8ffb7f5a6406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/226] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 597368074f260f51c74893874052b02c85ce5849 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/226] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From b533c99a4b2cf2693762e7084f41311ab1223d54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/226] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 34962350d4cd486c94baa43c69423c691ecc8b7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/226] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 348b6ae3e5eaee4607d860a84c7e41034fb47f03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/226] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 3ea0751cfe0f7707e4d19b8b9b603b06b7703996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/226] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From c4f7506bc18571c7bffee46fa97e334a1ccb2bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/226] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 366f5d3eba9cba9f0cc3f15d547fa00ea42d52c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/226] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0a6065e330fdcb932b27c78db3de5d856878aa55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/226] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0785a548282c87692ed56ad0e3dde72c33f9d31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/226] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c01f13cda2148e6b40e7c39c9db7409cd5c0fe53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/226] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 0758ca979d33c0c1bdae92967b5b9f05742c7bda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/226] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3e25e9ad7bc033ff2bbba62c74f139e753db80c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/226] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6307b61466c1635ba2ac41a4d543b105c4c8f81b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/226] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From b6450ae0b46592f89d8626902e4fc75458bacf1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/226] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8581c42f5b42b1026bb211bddf0b76148ab7f877 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/226] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 91360831cf69de1d7fc75abff83ef4c9b41fcebb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/226] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4ba8ef7e2755011be302df400fedafe29c463874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/226] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From abd0e0c24f8fe81f23b0eb302e41104ece431b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/226] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7387bfcebfaba71e9e70a2b9de7df48c927b2c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/226] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 622e7287227846ebddbb9626604e641e03c6ec48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/226] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0d79bc0d63b19426488cddf9a8ebd8d75189883b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/226] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 4280834ca775fafe52244a5af2867f1110ed9286 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/226] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5226ebf276524d35cdf0496e30a18583fe196cdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/226] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b9dcafe584d529609a26e506bf5a9d5f5698aed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/226] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c97583e25395291b125b7a42d71e5b234e472b77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/226] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 4876b595df21077d7066c30148fba3735d2b332f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/226] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 7c822f78b275a05a015658a8fbe7f2095893ef36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/226] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From ea9b97321d02c2248371cf65f800edf646a066d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/226] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f90eba50d23f8873e89c83ddbfd862e39b5e4bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/226] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From d9b35e2f07391a36198f2edbd4c004bb4a911bee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/226] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 3c39bf9524132059ad2a73520c87e1da675965ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/226] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 808c951481843a03e8c1ca8750a3ce0ff9d29a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/226] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 7e1fe2185ae4f0736c96b06208d68ae2de09c10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/226] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 859062650653af69879e522d5c809ca06dece870 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/226] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From a36526b78a9151c19b9981e911327123c71065d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/226] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 42b6972d65c7f3e54e213c6d99853f3f8cdbf8b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/226] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From d68a82bc505791dcc71bc91b29ca5daec11bc432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/226] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 476cea7afa1c874866e2fb2e31ba4236bd792634 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/226] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 11b2468b183885e70fe367281358aa29801529ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/226] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 1a7ee4568069f161b1af80e1a0d09421431302d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/226] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 656d893e599f3817365dc250f38c6894a3984d0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/226] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From bca3949e4ee14add088bff0cc3a459abd7273b6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/226] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 8fce50ccdd7e03d8691d3c6817ffbbd773e5a6a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/226] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 91ce6546cee81e0d311d40dc1da93da4540148ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/226] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 54d515d51ba2dfa7a155bffe5ab6425772bea34b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/226] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 8ec5d7fae77165566e0672e5de92269eb39aebb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/226] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 3064e063601c765e1c410bba819a7771ea81e04b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/226] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From d420edfb479d201f180fe3efabc43c9b0b6cabdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/226] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 241934deca88185087724fd2ae2de1a421f7b98f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/226] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From a380283dbf73022ce92fe14f00125947a9be60e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/226] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 1d7af605fb4f23b8c630480cee7e15df9c2641fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/226] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 81ac14c82f1e479cc811e5b86adb8b894c6b132a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/226] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 424fbdfbd0b5e9bcd6e9af34d8979a42e47ee729 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/226] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From dc65891504599a8896397fb2a604b03120dfa2fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/226] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c0de8a69448de5c177d937e182cf3bc31c4e3922 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/226] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From e51cfb729b0663d5d22db21e3a7e0d0725384bdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/226] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 20bc2b680b77f0226d3d580f84f7e192583ecac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/226] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 6371baa1776a84214ff8a0fa758aecc4dec73d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/226] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 1a1c771b8fbb34af5d32b8d3d0bca01db378b93c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/226] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 0ed0b7fead166e0ebfc0a6232251fc800442f9aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/226] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9bd6ff3817c2a5c7d33e4d8cfdedee044ed37ed6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/226] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 53aca3521ebfaa1a79e7dace71c42dd87e57cf83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/226] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 110a8017b0f3d53080a11cdd14a49325511a68ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/226] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f3980dc69d3f4d00fc24be986150748f4e90dbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/226] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 1e4b90ad6e27e6d021c6568f3853e2cd24d22d8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/226] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ed9a036f1450aab6317c6bbd617191c58673c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/226] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 61e8ea3ed7fa7b8cbda6cdd15962a3d47fe8734f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/226] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 02a682ff6c999f2f064e565d9be0b38fb061211c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/226] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 290c889cbbcd8b5b7f9c3c34a3c79d33f1f9cf84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/226] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From cba7f9edf1d71e85c570135507e4586c2012576c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/226] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 7fe876c8084b74733b36ad30feba2131d8a7b929 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/226] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 2a0bc80f9cabd3b70e5e6062c032869c282dcc63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/226] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 8c6b35738e1929e611bf6a9755f3112b243faef3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/226] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 2e2fab67b94e13cf5b8f6f67f96304d4ecaa673d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/226] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8a16fe1785c3d88b42bd1f3853aef284d3ac459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/226] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From f9eeabae45d877a540760cfbaa5a8dd216e6987d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/226] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From da20c245bf882651443f77430620cb99e678d285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/226] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 82bf5e85828ad4a989ed9611fef2fb741d03b22b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/226] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From ff345ea140bda9f7a0e9618f8ea5efd8ba49281c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/226] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From f47bf8bfd06bad49c1f89be33204fc936ce3dd01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/226] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From ab7e3df81b589cfc82ff5576a845b9f94e164405 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/226] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 31aaca641f30ccf454ebe8f779900b7fad5eb327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/226] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 46e5c75b1b5aa1f4d9ecb82e77e40fe6ab053039 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/226] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 292975301aa742fdffddd0c0c1704baaed092ea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/226] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 39f6f6f21485fa4f972fc9ba21c383fcb712f5f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/226] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 3d7ced1fa72918a8cb55fc818b5956b7a5540e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/226] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 21454d373a34797ea4a33c73fa6086fa96c7db53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/226] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 778b1cc68cfd447a0f21c7dd708f99c93cf6eefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/226] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 53fe5b1797828693e9e0f9a90dd655a41e5c71cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/226] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 3ee8eb7ced39de4ec66c5dcc1c70a5329a59aea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/226] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 376a91157107dbefdd37228fdb7eba5deb8c426d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/226] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 609e176c55cb5bb2435229e22bf223c4310ca553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/226] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 30a67b2182ea0fb0ccba7913ea49644872c538cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/226] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 1a4de6303a84ac863f9180a0d9453907cd8ef1b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/226] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 12fd3e100187b3c9e757d133c9f423bf32b09e1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/226] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 0f4202b8104305acbb7a1cef4863a4a38ce2a0e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/226] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From ba15891b054f8d360c8f5cc62fe23ac9f6a6f70d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/226] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From f1d2d39b8ec0aa6c6aea9bece3389464d67ea9a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/226] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From d182977cf95bb4bb9c0909b424937c51ebfc9f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/226] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From cce70e5042e94e8deee18d5f26f3d9b89d68384d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/226] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 0f681c52b52f21410bb0d8cc6a9119f6b8bf9e71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/226] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 079fc55105c8a98ff45ba9ed35c267f14605e4fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/226] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 8110f9f84b4b8236d98e71ac35ca74eeb5aa36c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/226] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From acf7413ef27d590cf4f559201c31a89ff295f71f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/226] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c5dda533a20b0a8a762d9e1559ec15495d690ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/226] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6052c4e2c257bb6f9e9ad455b2268c00cd9d9250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/226] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 74e246c7e7a6338263d2d07c90da506842ca8622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/226] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From c007003073463931d81cf102c4b6b58193b11dc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/226] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0178515787775aedeb81ddff9ce820264eb2d234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/226] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 11cd4743eba0eda69ebf9a2b507639725f149fc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/226] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 048b00b96f020af0007860ef03a103f32d6d2090 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/226] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ab224eb9f91fa33612e4ec37dddfb840663cdefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/226] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b39737d612a56b869e619c7240c1423363b22506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/226] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 6104d2d667dc9e1aaf9a0abfea1473e90fb91a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/226] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From ef5e9fe51e3f6a83542ff08b22469132908348f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/226] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 124e2f69b7e249f4e40837f37c72ac4eb8defcbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/226] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 4fb532cd22a29b0cd03476a04970f5548fc46de5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/226] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b3aa3960ac8e277c71d09122c03524511cc1ad80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/226] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 535f1de966503dcdb6102b8a269978da04adb5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/226] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 5a03fddada9c2a4912470d4f0c199afd37ccac33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/226] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 418247edf978c568aab95ad2c1a598e18f68c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/226] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From d384c06ca6b49fb7d5228c2c6baee62cc632babb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/226] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a485d95fc3d406329cfcf3280c9620bad16effa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/226] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From f9dc72ea8e03e1ba5779e6aece6c7455bfc76509 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/226] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f8552f0e821db6a2b72e600501cdd93ebee039f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/226] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 232cd3c85a0e22b3d7cbf88aaf1d49976c851b18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/226] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 4cba187a93f368767f944c9814fe4a74f70d1447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/226] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From ec66ba9f931d69f5e6e88f3f77ac4498447ece37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/226] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 17959b3ee81e88d0ab359330ae3523c0cd12e991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/226] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 69e9dcffd3ad213046746b03216a1bd60e4df881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/226] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 80b22e674ea04ede29b08ecf6d6bea38ddbcbba8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/226] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From cd6840a40dac04edf5805cf5710b0b85541d0421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/226] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6956dca58cb5ad9aa356066e110b550fec06edae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/226] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From f41713d363dc68fc867968c75d4f10c0a31470b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/226] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 87b0aa57cf579626810d8f5ea71e19e3e83d2260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/226] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6d3c393a0dfbe8cc69554e077a24c41689b65248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/226] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From f5275a66baa68d8eaf5f9df8c91ffce70bb7e890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/226] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3aedbcd7e927a12d236de39d3a3e0a5f8f0ec4f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/226] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 7228e914863ebbcf36f6901d0e3595382025f1af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/226] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From c37428ab20bea2444e4e0a105a0abdeab3f32853 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/226] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/template | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 4c3ef73ec0df139526c3d78009a0fe50a0895dc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/226] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 32715e9abc63ca08a2bf64ecdfee6ef191f7ba0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/226] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From c697f7b3e06d14584e732f99b60bdf88eadf4ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/226] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 1c7196b57761c478813096a6b44400e406749497 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/226] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From a0450d1f34266d73eeec5cf0bcebb0679e93dd35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/226] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From acd7e388faac3fa7107930ac911be0769d986d24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 153/226] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 82ae5a4a02a75925491b51c35993d0fcf3cf1a4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/226] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 7b8deb025ef0bbb7cdf848af5d932d37511e88b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 155/226] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 799e0f1dc80ba19ce70b4f73675f611db4f83798 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/226] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 3eb62c6b1b2bffd560aed5d12eee7cde7279f883 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/226] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From f0315660333b83cbd180673c5a825c4088d2856c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/226] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From df47213900eece3e317659354dae7b1578fecd88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/226] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From ff08412f297b76ed17106fba136efaae65d8b9df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/226] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From baf8713cc6ee11199478abc8f2d08221625985be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/226] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From fedb742cd76df69f2c5611c498886980f2ef6e4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/226] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 179c01f0fd6916a7014a85b1b7aed72b7025083f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/226] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From a0d07c0b32a6d1cdcc6da903ee0315c983f0e2e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/226] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 1c28530d23688a40d322289d0ba273684837d5b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 165/226] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From d38ba2b2056532428bcfc6dfee929a9946d38b3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 166/226] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 9c690b493afc5bf20c3336ffac1eba55fb4641a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 167/226] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 469fcdbe4f9b6d224b6cb05aa341d68d9d34f7cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/226] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 8d7bafaa39ca772c57cd71bc85787a26aa1ddebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/226] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 4bcae3f4f43bc4f5f5b30c086cadb2e140744163 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 170/226] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 83cd5b8fe2afef4291f737dfb43fc62a1737d7a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 171/226] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fb75bf27079355fae5b781d1e416316419662523 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 172/226] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 6d35d6e0338996fd5fb4df7f7c487b5ef3cc20d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 173/226] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From d17ac9bc516561198f16ff75d47e56bbd0efc344 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/226] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From d315cf7613490b617a47fd05092422447ace38b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 175/226] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 630b93f95ebe740bc565967a89f9db09fa6fcda7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 176/226] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 5d71b2e8880d0945efed1c5c352d9f1588b6abe2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 177/226] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From afe7e758a3fd8b2c11ad14f95727820b85e889d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 178/226] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From c0c16b45cea2106a57e079d215501bee8cb2ecec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 179/226] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From febf968d293d72e722fe9ddd68c177b7d638555f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 180/226] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 153e730e6b2021afa15d2b83da1349ab749050d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/226] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From e93bbc2cf71bfae3c4b34f2e3a7804851d2c2f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 182/226] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From db830ae3b539521819f7d184944ec8d9b12d3deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 183/226] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From e101c1fdcaf5b4b7b6301274c91e6c64108cf474 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 184/226] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 5f6576d81b492dff5b6d8749fb8c7af7f3fdd174 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/226] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From d5637f1c714d2e89b2e807ab9d5b19926e9410d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/226] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 44ad837721e3c22673f70a6abe4c42c5b2fcf303 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 187/226] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From dc7bbde212e4779f11a4f883c195d39af12fc17c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 188/226] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 3d8e33ea67154d5ad5377e6653a835434ec2e13a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 189/226] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 2c27ce0dde3a90abac16f32e6190a81397f113be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 190/226] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 687cd156be8c4d77c397ec27f2a1f493da45970f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 191/226] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 4877475c26abc94f17b38852e162107667558b1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 192/226] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 6eefcb60d11f86e72006b0de55be1f6ef253c4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 193/226] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 22ed513bbd3da625e4aa1f016a818a8d3e99c9ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 194/226] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 634f9a9d247f809b00fa74063cc2115f76e55b5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 195/226] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 061d9ffbca498ed642d68409c3d4eb98dd841ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/226] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 8c2aa13c086e6ff8271bcbd95d61667659a898f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 197/226] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 53d53f29f64ddbc55936c3280f23bb1bd0268984 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 198/226] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 1594f8d6e037ac09c8798d1c1a2726f2e7f11418 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 199/226] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6979ac542a4d33648063f3fc514f5414c96bbcb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 200/226] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 58f257ade56a524689306e487e70404133e9ec4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 201/226] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 74914e93a01bba3b35e4777a43387ea6a941d6cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 202/226] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 85c836f3e7285c70b5b4bd5873d679dae8ba3f89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 203/226] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From d642c859fd3d51b89d10aadadf97fec69bfbf71a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 204/226] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 218d091f900219310179d2703ae8ca94cb9b52f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 205/226] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 5ddb2d58286282552e5401adcb2d46ca6b873fdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 206/226] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 13792e17085f0cbfa9acf349b64926f52a0fe3fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 207/226] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 4c602e41d629e005a61d675e7d376849b18ea0e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 208/226] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 5ab333a9c023eaf15505391447c19153d3995aa6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 209/226] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 210 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 109 insertions(+), 133 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 2705f73b0d5..b4a01a7b16d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3293,110 +3293,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
@@ -3980,4 +3980,4 @@ libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
 libneatvnc.so.0 neatvnc-0.2.0_1
-libtdjson.so.1.6.0 libtd-1.6.0_1
+libtdjson.1.6.0 libtd-1.6.0_1
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 4058d718a28c753fa07e19e83cbbe31a0dc4585a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 210/226] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 677c42097428109623e67b0260695a21ddc39c63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 211/226] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 1717f3eaf4702b3829f90d81b9b51325171bcd48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 212/226] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From c57f74df436fd46b20aeeb6f974798bf9fd268ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 213/226] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 548d7a4a0e77d8b2d8acc29e34d6d254909caeb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 214/226] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a64f6cd08eff824123edeaa52a9a078490904f30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 215/226] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From ab7363bf3ee1dba345135b5683e8d4d795eeb3f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 216/226] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From fe9b4390dceeaae9d547ca0a6b7425159142aace Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 217/226] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 13f06cafb205cf921a25d8d021782477783ce882 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 218/226] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 72ef12f0c873d48399dfd5fae05be150b3349bdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 219/226] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 20539cf406e818bc688479af86593c3f153e4581 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 220/226] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From ae31a9e029a4e2a0c03a997e7cfbbb28caebb717 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 221/226] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 0236051490e827fb3f4da5c433677f9e0d91dcf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 222/226] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 64f5f57ed8aeb5100e945aaef3334a2c11aa409e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 223/226] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 68168db5bc083aaa7b6c61b82fa4c8821abf22c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 224/226] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From faa87586dcc0208511f8adf0bd8c24a87809f981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 225/226] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 6fe0da88238799ad0382eb08601b37f23362b8f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 226/226] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (25 preceding siblings ...)
  2020-08-18 21:42 ` pullmoll
@ 2020-08-18 21:42 ` pullmoll
  2020-08-18 21:51 ` pullmoll
                   ` (26 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 21:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 207612 bytes --]

From 813b367da12f34755d68e6b64089b26354fd5151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/226] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 397e9c22e097042105d694d7d8fa00ce4d0bf0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/226] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 33c0d0e19531f46c00ac0bbad0a6511724b72218 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/226] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2bde2566e12feddf3ccb34920d23231ee8d0a76e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/226] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 43c19657326f55e303224c22f9f03137dce8b150 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/226] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 7a6fe68b533f9507b3e5aa5e8d930ec55ac47662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/226] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 9c49d327c5c33ce0ea905f5773ad8ffb7f5a6406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/226] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 597368074f260f51c74893874052b02c85ce5849 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/226] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From b533c99a4b2cf2693762e7084f41311ab1223d54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/226] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 34962350d4cd486c94baa43c69423c691ecc8b7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/226] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 348b6ae3e5eaee4607d860a84c7e41034fb47f03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/226] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 3ea0751cfe0f7707e4d19b8b9b603b06b7703996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/226] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From c4f7506bc18571c7bffee46fa97e334a1ccb2bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/226] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 366f5d3eba9cba9f0cc3f15d547fa00ea42d52c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/226] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0a6065e330fdcb932b27c78db3de5d856878aa55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/226] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0785a548282c87692ed56ad0e3dde72c33f9d31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/226] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c01f13cda2148e6b40e7c39c9db7409cd5c0fe53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/226] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 0758ca979d33c0c1bdae92967b5b9f05742c7bda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/226] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3e25e9ad7bc033ff2bbba62c74f139e753db80c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/226] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6307b61466c1635ba2ac41a4d543b105c4c8f81b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/226] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From b6450ae0b46592f89d8626902e4fc75458bacf1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/226] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8581c42f5b42b1026bb211bddf0b76148ab7f877 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/226] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 91360831cf69de1d7fc75abff83ef4c9b41fcebb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/226] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4ba8ef7e2755011be302df400fedafe29c463874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/226] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From abd0e0c24f8fe81f23b0eb302e41104ece431b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/226] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7387bfcebfaba71e9e70a2b9de7df48c927b2c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/226] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 622e7287227846ebddbb9626604e641e03c6ec48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/226] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0d79bc0d63b19426488cddf9a8ebd8d75189883b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/226] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 4280834ca775fafe52244a5af2867f1110ed9286 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/226] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5226ebf276524d35cdf0496e30a18583fe196cdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/226] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b9dcafe584d529609a26e506bf5a9d5f5698aed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/226] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c97583e25395291b125b7a42d71e5b234e472b77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/226] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 4876b595df21077d7066c30148fba3735d2b332f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/226] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 7c822f78b275a05a015658a8fbe7f2095893ef36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/226] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From ea9b97321d02c2248371cf65f800edf646a066d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/226] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f90eba50d23f8873e89c83ddbfd862e39b5e4bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/226] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From d9b35e2f07391a36198f2edbd4c004bb4a911bee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/226] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 3c39bf9524132059ad2a73520c87e1da675965ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/226] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 808c951481843a03e8c1ca8750a3ce0ff9d29a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/226] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 7e1fe2185ae4f0736c96b06208d68ae2de09c10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/226] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 859062650653af69879e522d5c809ca06dece870 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/226] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From a36526b78a9151c19b9981e911327123c71065d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/226] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 42b6972d65c7f3e54e213c6d99853f3f8cdbf8b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/226] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From d68a82bc505791dcc71bc91b29ca5daec11bc432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/226] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 476cea7afa1c874866e2fb2e31ba4236bd792634 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/226] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 11b2468b183885e70fe367281358aa29801529ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/226] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 1a7ee4568069f161b1af80e1a0d09421431302d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/226] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 656d893e599f3817365dc250f38c6894a3984d0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/226] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From bca3949e4ee14add088bff0cc3a459abd7273b6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/226] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 8fce50ccdd7e03d8691d3c6817ffbbd773e5a6a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/226] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 91ce6546cee81e0d311d40dc1da93da4540148ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/226] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 54d515d51ba2dfa7a155bffe5ab6425772bea34b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/226] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 8ec5d7fae77165566e0672e5de92269eb39aebb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/226] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 3064e063601c765e1c410bba819a7771ea81e04b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/226] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From d420edfb479d201f180fe3efabc43c9b0b6cabdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/226] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 241934deca88185087724fd2ae2de1a421f7b98f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/226] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From a380283dbf73022ce92fe14f00125947a9be60e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/226] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 1d7af605fb4f23b8c630480cee7e15df9c2641fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/226] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 81ac14c82f1e479cc811e5b86adb8b894c6b132a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/226] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 424fbdfbd0b5e9bcd6e9af34d8979a42e47ee729 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/226] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From dc65891504599a8896397fb2a604b03120dfa2fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/226] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c0de8a69448de5c177d937e182cf3bc31c4e3922 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/226] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From e51cfb729b0663d5d22db21e3a7e0d0725384bdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/226] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 20bc2b680b77f0226d3d580f84f7e192583ecac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/226] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 6371baa1776a84214ff8a0fa758aecc4dec73d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/226] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 1a1c771b8fbb34af5d32b8d3d0bca01db378b93c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/226] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 0ed0b7fead166e0ebfc0a6232251fc800442f9aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/226] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9bd6ff3817c2a5c7d33e4d8cfdedee044ed37ed6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/226] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 53aca3521ebfaa1a79e7dace71c42dd87e57cf83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/226] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 110a8017b0f3d53080a11cdd14a49325511a68ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/226] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f3980dc69d3f4d00fc24be986150748f4e90dbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/226] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 1e4b90ad6e27e6d021c6568f3853e2cd24d22d8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/226] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ed9a036f1450aab6317c6bbd617191c58673c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/226] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 61e8ea3ed7fa7b8cbda6cdd15962a3d47fe8734f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/226] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 02a682ff6c999f2f064e565d9be0b38fb061211c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/226] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 290c889cbbcd8b5b7f9c3c34a3c79d33f1f9cf84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/226] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From cba7f9edf1d71e85c570135507e4586c2012576c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/226] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 7fe876c8084b74733b36ad30feba2131d8a7b929 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/226] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 2a0bc80f9cabd3b70e5e6062c032869c282dcc63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/226] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 8c6b35738e1929e611bf6a9755f3112b243faef3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/226] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 2e2fab67b94e13cf5b8f6f67f96304d4ecaa673d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/226] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8a16fe1785c3d88b42bd1f3853aef284d3ac459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/226] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From f9eeabae45d877a540760cfbaa5a8dd216e6987d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/226] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From da20c245bf882651443f77430620cb99e678d285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/226] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 82bf5e85828ad4a989ed9611fef2fb741d03b22b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/226] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From ff345ea140bda9f7a0e9618f8ea5efd8ba49281c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/226] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From f47bf8bfd06bad49c1f89be33204fc936ce3dd01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/226] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From ab7e3df81b589cfc82ff5576a845b9f94e164405 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/226] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 31aaca641f30ccf454ebe8f779900b7fad5eb327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/226] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 46e5c75b1b5aa1f4d9ecb82e77e40fe6ab053039 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/226] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 292975301aa742fdffddd0c0c1704baaed092ea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/226] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 39f6f6f21485fa4f972fc9ba21c383fcb712f5f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/226] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 3d7ced1fa72918a8cb55fc818b5956b7a5540e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/226] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 21454d373a34797ea4a33c73fa6086fa96c7db53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/226] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 778b1cc68cfd447a0f21c7dd708f99c93cf6eefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/226] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 53fe5b1797828693e9e0f9a90dd655a41e5c71cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/226] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 3ee8eb7ced39de4ec66c5dcc1c70a5329a59aea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/226] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 376a91157107dbefdd37228fdb7eba5deb8c426d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/226] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 609e176c55cb5bb2435229e22bf223c4310ca553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/226] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 30a67b2182ea0fb0ccba7913ea49644872c538cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/226] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 1a4de6303a84ac863f9180a0d9453907cd8ef1b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/226] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 12fd3e100187b3c9e757d133c9f423bf32b09e1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/226] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 0f4202b8104305acbb7a1cef4863a4a38ce2a0e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/226] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From ba15891b054f8d360c8f5cc62fe23ac9f6a6f70d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/226] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From f1d2d39b8ec0aa6c6aea9bece3389464d67ea9a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/226] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From d182977cf95bb4bb9c0909b424937c51ebfc9f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/226] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From cce70e5042e94e8deee18d5f26f3d9b89d68384d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/226] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 0f681c52b52f21410bb0d8cc6a9119f6b8bf9e71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/226] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 079fc55105c8a98ff45ba9ed35c267f14605e4fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/226] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 8110f9f84b4b8236d98e71ac35ca74eeb5aa36c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/226] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From acf7413ef27d590cf4f559201c31a89ff295f71f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/226] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c5dda533a20b0a8a762d9e1559ec15495d690ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/226] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6052c4e2c257bb6f9e9ad455b2268c00cd9d9250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/226] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 74e246c7e7a6338263d2d07c90da506842ca8622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/226] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From c007003073463931d81cf102c4b6b58193b11dc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/226] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0178515787775aedeb81ddff9ce820264eb2d234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/226] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 11cd4743eba0eda69ebf9a2b507639725f149fc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/226] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 048b00b96f020af0007860ef03a103f32d6d2090 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/226] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ab224eb9f91fa33612e4ec37dddfb840663cdefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/226] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b39737d612a56b869e619c7240c1423363b22506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/226] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 6104d2d667dc9e1aaf9a0abfea1473e90fb91a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/226] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From ef5e9fe51e3f6a83542ff08b22469132908348f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/226] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 124e2f69b7e249f4e40837f37c72ac4eb8defcbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/226] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 4fb532cd22a29b0cd03476a04970f5548fc46de5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/226] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b3aa3960ac8e277c71d09122c03524511cc1ad80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/226] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 535f1de966503dcdb6102b8a269978da04adb5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/226] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 5a03fddada9c2a4912470d4f0c199afd37ccac33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/226] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 418247edf978c568aab95ad2c1a598e18f68c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/226] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From d384c06ca6b49fb7d5228c2c6baee62cc632babb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/226] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a485d95fc3d406329cfcf3280c9620bad16effa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/226] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From f9dc72ea8e03e1ba5779e6aece6c7455bfc76509 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/226] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f8552f0e821db6a2b72e600501cdd93ebee039f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/226] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 232cd3c85a0e22b3d7cbf88aaf1d49976c851b18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/226] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 4cba187a93f368767f944c9814fe4a74f70d1447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/226] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From ec66ba9f931d69f5e6e88f3f77ac4498447ece37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/226] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 17959b3ee81e88d0ab359330ae3523c0cd12e991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/226] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 69e9dcffd3ad213046746b03216a1bd60e4df881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/226] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 80b22e674ea04ede29b08ecf6d6bea38ddbcbba8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/226] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From cd6840a40dac04edf5805cf5710b0b85541d0421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/226] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6956dca58cb5ad9aa356066e110b550fec06edae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/226] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From f41713d363dc68fc867968c75d4f10c0a31470b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/226] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 87b0aa57cf579626810d8f5ea71e19e3e83d2260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/226] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6d3c393a0dfbe8cc69554e077a24c41689b65248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/226] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From f5275a66baa68d8eaf5f9df8c91ffce70bb7e890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/226] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3aedbcd7e927a12d236de39d3a3e0a5f8f0ec4f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/226] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 7228e914863ebbcf36f6901d0e3595382025f1af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/226] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From c37428ab20bea2444e4e0a105a0abdeab3f32853 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/226] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/template | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 4c3ef73ec0df139526c3d78009a0fe50a0895dc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 148/226] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 32715e9abc63ca08a2bf64ecdfee6ef191f7ba0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/226] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From c697f7b3e06d14584e732f99b60bdf88eadf4ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/226] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 1c7196b57761c478813096a6b44400e406749497 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/226] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From a0450d1f34266d73eeec5cf0bcebb0679e93dd35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/226] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From acd7e388faac3fa7107930ac911be0769d986d24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 153/226] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 82ae5a4a02a75925491b51c35993d0fcf3cf1a4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 154/226] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 7b8deb025ef0bbb7cdf848af5d932d37511e88b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 155/226] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 799e0f1dc80ba19ce70b4f73675f611db4f83798 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/226] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 3eb62c6b1b2bffd560aed5d12eee7cde7279f883 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/226] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From f0315660333b83cbd180673c5a825c4088d2856c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/226] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From df47213900eece3e317659354dae7b1578fecd88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 159/226] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From ff08412f297b76ed17106fba136efaae65d8b9df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/226] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From baf8713cc6ee11199478abc8f2d08221625985be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/226] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From fedb742cd76df69f2c5611c498886980f2ef6e4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/226] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 179c01f0fd6916a7014a85b1b7aed72b7025083f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/226] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From a0d07c0b32a6d1cdcc6da903ee0315c983f0e2e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/226] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 1c28530d23688a40d322289d0ba273684837d5b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 165/226] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From d38ba2b2056532428bcfc6dfee929a9946d38b3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 166/226] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 9c690b493afc5bf20c3336ffac1eba55fb4641a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 167/226] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 469fcdbe4f9b6d224b6cb05aa341d68d9d34f7cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/226] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 8d7bafaa39ca772c57cd71bc85787a26aa1ddebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/226] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 4bcae3f4f43bc4f5f5b30c086cadb2e140744163 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 170/226] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 83cd5b8fe2afef4291f737dfb43fc62a1737d7a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 171/226] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fb75bf27079355fae5b781d1e416316419662523 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 172/226] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 6d35d6e0338996fd5fb4df7f7c487b5ef3cc20d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 173/226] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From d17ac9bc516561198f16ff75d47e56bbd0efc344 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/226] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From d315cf7613490b617a47fd05092422447ace38b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 175/226] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 630b93f95ebe740bc565967a89f9db09fa6fcda7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 176/226] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 5d71b2e8880d0945efed1c5c352d9f1588b6abe2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 177/226] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From afe7e758a3fd8b2c11ad14f95727820b85e889d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 178/226] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From c0c16b45cea2106a57e079d215501bee8cb2ecec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 179/226] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From febf968d293d72e722fe9ddd68c177b7d638555f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 180/226] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 153e730e6b2021afa15d2b83da1349ab749050d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/226] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From e93bbc2cf71bfae3c4b34f2e3a7804851d2c2f87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 182/226] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From db830ae3b539521819f7d184944ec8d9b12d3deb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 183/226] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From e101c1fdcaf5b4b7b6301274c91e6c64108cf474 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 184/226] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 5f6576d81b492dff5b6d8749fb8c7af7f3fdd174 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/226] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From d5637f1c714d2e89b2e807ab9d5b19926e9410d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/226] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 44ad837721e3c22673f70a6abe4c42c5b2fcf303 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 187/226] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From dc7bbde212e4779f11a4f883c195d39af12fc17c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 188/226] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 3d8e33ea67154d5ad5377e6653a835434ec2e13a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 189/226] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 2c27ce0dde3a90abac16f32e6190a81397f113be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 190/226] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 687cd156be8c4d77c397ec27f2a1f493da45970f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 191/226] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 4877475c26abc94f17b38852e162107667558b1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 192/226] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 6eefcb60d11f86e72006b0de55be1f6ef253c4ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 193/226] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 22ed513bbd3da625e4aa1f016a818a8d3e99c9ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 194/226] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 634f9a9d247f809b00fa74063cc2115f76e55b5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 195/226] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 061d9ffbca498ed642d68409c3d4eb98dd841ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/226] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 8c2aa13c086e6ff8271bcbd95d61667659a898f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 197/226] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 53d53f29f64ddbc55936c3280f23bb1bd0268984 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 198/226] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 1594f8d6e037ac09c8798d1c1a2726f2e7f11418 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 199/226] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6979ac542a4d33648063f3fc514f5414c96bbcb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 200/226] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 58f257ade56a524689306e487e70404133e9ec4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 201/226] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 74914e93a01bba3b35e4777a43387ea6a941d6cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 202/226] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 85c836f3e7285c70b5b4bd5873d679dae8ba3f89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 203/226] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From d642c859fd3d51b89d10aadadf97fec69bfbf71a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 204/226] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 218d091f900219310179d2703ae8ca94cb9b52f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 205/226] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 5ddb2d58286282552e5401adcb2d46ca6b873fdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 206/226] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 13792e17085f0cbfa9acf349b64926f52a0fe3fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 207/226] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 4c602e41d629e005a61d675e7d376849b18ea0e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 208/226] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From dbd765e9ef570802be086692a12f8e915bff0771 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 209/226] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 2705f73b0d5..03f6b34d69f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3293,110 +3293,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From dad5d8f069565dabef91ebd27a21ad9431e55d2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 210/226] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 62666bca0095d7e2d5053e69c6ceb3b7b2f46391 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 211/226] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 6f7611139ef614a6573c391d22419d2c15080dfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 212/226] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 8d39c36b0426009cf37347d54b15e3ef514fef5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 213/226] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 3f1718d432e40a7e276336762389a36e0550583c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 214/226] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0f0c87869620ed5cd474fbccaf52c90bb3236782 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 215/226] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From b4620ec4dc489dd7a78111655db074cec2b5cb6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 216/226] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From e0a7e1b786e3392df2543a10b1e5ecd61487c517 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 217/226] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 7cb32f76477894b13b224378463b2dc959d15f07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 218/226] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From f53a71e99a15b10137fbff15d993cb0068e65896 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 219/226] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From c488b9dbc46b73926f5a857b44e4d64473e94623 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 220/226] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From b1c2bf5c95b2199e6c0afe915f72f5fd46f9c7a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 221/226] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 82acb6da4c07f56a1447331ac33e9afff1d600ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 222/226] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From f0ff59450f3228746e95f91da1c075431de7c854 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 223/226] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From bd9eada5c4d4bd5f999e93033124b48cd1c1017c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 224/226] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 9316c37242a78e753d963d6244457a4cf94ec4d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 225/226] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 54ced16d72faaea840184d2b7285e1ebfd9a2c35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 226/226] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (26 preceding siblings ...)
  2020-08-18 21:42 ` pullmoll
@ 2020-08-18 21:51 ` pullmoll
  2020-08-18 21:52 ` pullmoll
                   ` (25 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 21:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 210673 bytes --]

From 813b367da12f34755d68e6b64089b26354fd5151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/227] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 397e9c22e097042105d694d7d8fa00ce4d0bf0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/227] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 33c0d0e19531f46c00ac0bbad0a6511724b72218 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/227] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2bde2566e12feddf3ccb34920d23231ee8d0a76e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/227] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 43c19657326f55e303224c22f9f03137dce8b150 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/227] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 7a6fe68b533f9507b3e5aa5e8d930ec55ac47662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/227] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 9c49d327c5c33ce0ea905f5773ad8ffb7f5a6406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/227] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 597368074f260f51c74893874052b02c85ce5849 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/227] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From b533c99a4b2cf2693762e7084f41311ab1223d54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/227] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 34962350d4cd486c94baa43c69423c691ecc8b7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/227] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 348b6ae3e5eaee4607d860a84c7e41034fb47f03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/227] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 3ea0751cfe0f7707e4d19b8b9b603b06b7703996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/227] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From c4f7506bc18571c7bffee46fa97e334a1ccb2bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/227] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 366f5d3eba9cba9f0cc3f15d547fa00ea42d52c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/227] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0a6065e330fdcb932b27c78db3de5d856878aa55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/227] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0785a548282c87692ed56ad0e3dde72c33f9d31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/227] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c01f13cda2148e6b40e7c39c9db7409cd5c0fe53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/227] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 0758ca979d33c0c1bdae92967b5b9f05742c7bda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/227] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3e25e9ad7bc033ff2bbba62c74f139e753db80c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/227] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6307b61466c1635ba2ac41a4d543b105c4c8f81b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/227] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From b6450ae0b46592f89d8626902e4fc75458bacf1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/227] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8581c42f5b42b1026bb211bddf0b76148ab7f877 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/227] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 91360831cf69de1d7fc75abff83ef4c9b41fcebb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/227] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4ba8ef7e2755011be302df400fedafe29c463874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/227] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From abd0e0c24f8fe81f23b0eb302e41104ece431b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/227] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7387bfcebfaba71e9e70a2b9de7df48c927b2c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/227] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 622e7287227846ebddbb9626604e641e03c6ec48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/227] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0d79bc0d63b19426488cddf9a8ebd8d75189883b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/227] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 4280834ca775fafe52244a5af2867f1110ed9286 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/227] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5226ebf276524d35cdf0496e30a18583fe196cdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/227] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b9dcafe584d529609a26e506bf5a9d5f5698aed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/227] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c97583e25395291b125b7a42d71e5b234e472b77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/227] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 4876b595df21077d7066c30148fba3735d2b332f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/227] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 7c822f78b275a05a015658a8fbe7f2095893ef36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/227] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From ea9b97321d02c2248371cf65f800edf646a066d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/227] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f90eba50d23f8873e89c83ddbfd862e39b5e4bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/227] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From d9b35e2f07391a36198f2edbd4c004bb4a911bee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/227] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 3c39bf9524132059ad2a73520c87e1da675965ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/227] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 808c951481843a03e8c1ca8750a3ce0ff9d29a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/227] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 7e1fe2185ae4f0736c96b06208d68ae2de09c10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/227] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 859062650653af69879e522d5c809ca06dece870 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/227] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From a36526b78a9151c19b9981e911327123c71065d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/227] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 42b6972d65c7f3e54e213c6d99853f3f8cdbf8b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/227] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From d68a82bc505791dcc71bc91b29ca5daec11bc432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/227] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 476cea7afa1c874866e2fb2e31ba4236bd792634 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/227] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 11b2468b183885e70fe367281358aa29801529ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/227] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 1a7ee4568069f161b1af80e1a0d09421431302d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/227] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 656d893e599f3817365dc250f38c6894a3984d0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/227] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From bca3949e4ee14add088bff0cc3a459abd7273b6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/227] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 8fce50ccdd7e03d8691d3c6817ffbbd773e5a6a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/227] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 91ce6546cee81e0d311d40dc1da93da4540148ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/227] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 54d515d51ba2dfa7a155bffe5ab6425772bea34b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/227] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 8ec5d7fae77165566e0672e5de92269eb39aebb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/227] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 3064e063601c765e1c410bba819a7771ea81e04b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/227] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From d420edfb479d201f180fe3efabc43c9b0b6cabdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/227] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 241934deca88185087724fd2ae2de1a421f7b98f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/227] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From a380283dbf73022ce92fe14f00125947a9be60e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/227] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 1d7af605fb4f23b8c630480cee7e15df9c2641fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/227] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 81ac14c82f1e479cc811e5b86adb8b894c6b132a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/227] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 424fbdfbd0b5e9bcd6e9af34d8979a42e47ee729 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/227] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From dc65891504599a8896397fb2a604b03120dfa2fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/227] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c0de8a69448de5c177d937e182cf3bc31c4e3922 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/227] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From e51cfb729b0663d5d22db21e3a7e0d0725384bdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/227] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 20bc2b680b77f0226d3d580f84f7e192583ecac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/227] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 6371baa1776a84214ff8a0fa758aecc4dec73d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/227] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 1a1c771b8fbb34af5d32b8d3d0bca01db378b93c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/227] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 0ed0b7fead166e0ebfc0a6232251fc800442f9aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/227] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9bd6ff3817c2a5c7d33e4d8cfdedee044ed37ed6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/227] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 53aca3521ebfaa1a79e7dace71c42dd87e57cf83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/227] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 110a8017b0f3d53080a11cdd14a49325511a68ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/227] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f3980dc69d3f4d00fc24be986150748f4e90dbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/227] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 1e4b90ad6e27e6d021c6568f3853e2cd24d22d8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/227] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ed9a036f1450aab6317c6bbd617191c58673c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/227] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 61e8ea3ed7fa7b8cbda6cdd15962a3d47fe8734f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/227] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 02a682ff6c999f2f064e565d9be0b38fb061211c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/227] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 290c889cbbcd8b5b7f9c3c34a3c79d33f1f9cf84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/227] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From cba7f9edf1d71e85c570135507e4586c2012576c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/227] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 7fe876c8084b74733b36ad30feba2131d8a7b929 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/227] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 2a0bc80f9cabd3b70e5e6062c032869c282dcc63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/227] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 8c6b35738e1929e611bf6a9755f3112b243faef3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/227] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 2e2fab67b94e13cf5b8f6f67f96304d4ecaa673d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/227] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8a16fe1785c3d88b42bd1f3853aef284d3ac459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/227] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From f9eeabae45d877a540760cfbaa5a8dd216e6987d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/227] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From da20c245bf882651443f77430620cb99e678d285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/227] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 82bf5e85828ad4a989ed9611fef2fb741d03b22b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/227] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From ff345ea140bda9f7a0e9618f8ea5efd8ba49281c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/227] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From f47bf8bfd06bad49c1f89be33204fc936ce3dd01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/227] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From ab7e3df81b589cfc82ff5576a845b9f94e164405 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/227] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 31aaca641f30ccf454ebe8f779900b7fad5eb327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/227] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 46e5c75b1b5aa1f4d9ecb82e77e40fe6ab053039 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/227] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 292975301aa742fdffddd0c0c1704baaed092ea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/227] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 39f6f6f21485fa4f972fc9ba21c383fcb712f5f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/227] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 3d7ced1fa72918a8cb55fc818b5956b7a5540e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/227] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 21454d373a34797ea4a33c73fa6086fa96c7db53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/227] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 778b1cc68cfd447a0f21c7dd708f99c93cf6eefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/227] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 53fe5b1797828693e9e0f9a90dd655a41e5c71cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/227] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 3ee8eb7ced39de4ec66c5dcc1c70a5329a59aea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/227] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 376a91157107dbefdd37228fdb7eba5deb8c426d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/227] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 609e176c55cb5bb2435229e22bf223c4310ca553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/227] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 30a67b2182ea0fb0ccba7913ea49644872c538cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/227] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 1a4de6303a84ac863f9180a0d9453907cd8ef1b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/227] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 12fd3e100187b3c9e757d133c9f423bf32b09e1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/227] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 0f4202b8104305acbb7a1cef4863a4a38ce2a0e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/227] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From ba15891b054f8d360c8f5cc62fe23ac9f6a6f70d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/227] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From f1d2d39b8ec0aa6c6aea9bece3389464d67ea9a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/227] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From d182977cf95bb4bb9c0909b424937c51ebfc9f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/227] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From cce70e5042e94e8deee18d5f26f3d9b89d68384d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/227] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 0f681c52b52f21410bb0d8cc6a9119f6b8bf9e71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/227] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 079fc55105c8a98ff45ba9ed35c267f14605e4fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/227] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 8110f9f84b4b8236d98e71ac35ca74eeb5aa36c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/227] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From acf7413ef27d590cf4f559201c31a89ff295f71f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/227] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c5dda533a20b0a8a762d9e1559ec15495d690ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/227] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6052c4e2c257bb6f9e9ad455b2268c00cd9d9250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/227] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 74e246c7e7a6338263d2d07c90da506842ca8622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/227] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From c007003073463931d81cf102c4b6b58193b11dc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/227] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0178515787775aedeb81ddff9ce820264eb2d234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/227] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 11cd4743eba0eda69ebf9a2b507639725f149fc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/227] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 048b00b96f020af0007860ef03a103f32d6d2090 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/227] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ab224eb9f91fa33612e4ec37dddfb840663cdefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/227] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b39737d612a56b869e619c7240c1423363b22506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/227] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 6104d2d667dc9e1aaf9a0abfea1473e90fb91a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/227] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From ef5e9fe51e3f6a83542ff08b22469132908348f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/227] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 124e2f69b7e249f4e40837f37c72ac4eb8defcbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/227] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 4fb532cd22a29b0cd03476a04970f5548fc46de5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/227] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b3aa3960ac8e277c71d09122c03524511cc1ad80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/227] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 535f1de966503dcdb6102b8a269978da04adb5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/227] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 5a03fddada9c2a4912470d4f0c199afd37ccac33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/227] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 418247edf978c568aab95ad2c1a598e18f68c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/227] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From d384c06ca6b49fb7d5228c2c6baee62cc632babb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/227] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a485d95fc3d406329cfcf3280c9620bad16effa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/227] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From f9dc72ea8e03e1ba5779e6aece6c7455bfc76509 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/227] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f8552f0e821db6a2b72e600501cdd93ebee039f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/227] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 232cd3c85a0e22b3d7cbf88aaf1d49976c851b18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/227] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 4cba187a93f368767f944c9814fe4a74f70d1447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/227] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From ec66ba9f931d69f5e6e88f3f77ac4498447ece37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/227] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 17959b3ee81e88d0ab359330ae3523c0cd12e991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/227] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 69e9dcffd3ad213046746b03216a1bd60e4df881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/227] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 80b22e674ea04ede29b08ecf6d6bea38ddbcbba8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/227] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From cd6840a40dac04edf5805cf5710b0b85541d0421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/227] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6956dca58cb5ad9aa356066e110b550fec06edae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/227] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From f41713d363dc68fc867968c75d4f10c0a31470b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/227] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 87b0aa57cf579626810d8f5ea71e19e3e83d2260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/227] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6d3c393a0dfbe8cc69554e077a24c41689b65248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/227] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From f5275a66baa68d8eaf5f9df8c91ffce70bb7e890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/227] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3aedbcd7e927a12d236de39d3a3e0a5f8f0ec4f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/227] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 7228e914863ebbcf36f6901d0e3595382025f1af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/227] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From c37428ab20bea2444e4e0a105a0abdeab3f32853 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/227] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/template | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 54fd611fa8ffc734c3544dfad3d8314aad07c9b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 148/227] openjdk9-bootstap: needs -fcommon for gcc10

Add patch to detect compiler versions greater than major 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 59907cd438a2c3428ef484bf555fa0e31d46b35f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/227] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 041de3764474bd6c66461ed40b44c79acf89fefc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/227] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0287a80a5a8aa8f073ec1490f62bbf6dea4bdbbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/227] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From f38fb0ce31a5b78c71d244b34c6aa14c7ae9bf34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/227] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 6d7d19e2b203d599c52910fb27e8b0bd5c18505b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 153/227] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 1d60459eff8be3be7f3ca40cd1a97d99ea4b5f9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 154/227] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From e8491ceb58250713d107195db113d735b902b594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 155/227] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From dcdb02188d9ff16ad4b314392e6bd12ec299357b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/227] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From f14e78f56d12064824652dea2cdee170ba598da9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/227] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From a013a519009483afd7af6890344adbcf19a6fe33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/227] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From cab98cd58f0ba55735b051549e36ffbbd02d8b6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 159/227] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 569687590c30e9d58e23f0ca191fbc23a439cb45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/227] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 572cb789b6f7f5e0abc6568aa7b3d8a55fe1c51e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/227] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 37a60c859767f3f07de8d79d779f488f6ff7f857 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/227] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From fed939b7f3fba701864157b4a1744dc76ca5f0c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/227] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 952a0bc4d4e477d33be6fec19d36e66973f8901e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/227] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 3a13e503db93ef027efaf76100c296401491bcbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 165/227] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 92cdb8b6fc11c4ebfe180c568ec3b5f911767ea3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 166/227] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 9dcd863148fe74a9f7ae51ef1ccb413cd117515d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 167/227] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 8af283553d8cf7902c88d782c5059664a236ce01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/227] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 85be5fe3a45de20b24c00ca230885ff3adec941d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/227] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 164d7f043e7ea1589d61fd54171f12e0d0929cbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 170/227] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 1fa196ea34b8d44717674dcb5e4aae6aabb07f2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 171/227] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 9d9ee52028e4f90f7fbb610a6816bf7b2a3b9bd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 172/227] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8faee42009c96e0ce91da009a22397c8c868693a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 173/227] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 54bd04e5d6545d4b170e48d2ec5fab8faff65f6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/227] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 99c34fa8c98ec67366b93ee0617c198214fe86d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 175/227] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 4aff95da234d1bca6b94bbff37abd4c8f88765a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 176/227] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 0d9a57078dcad3c411a504941309a6ddcffd4633 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 177/227] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 969616be8da849ea297a50548601e1a170f0347f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 178/227] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 82d61b45ba7a8e6c050e9757f721e703940ea235 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 179/227] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 8d85e97f7fde15e98afbc28a1a345ae4e1ccb3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 180/227] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From f3b7a982633ae1947476fb450cefd0bb166d89f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/227] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 1c1b48711732b68db2d95a99a475b3f7ed321459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 182/227] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From f14985dc1c9b42e8175fc8cd54c3acd541664ad4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 183/227] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 3497f022e5c6acd88516915514bfa8f61bc08228 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 184/227] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 8983127e7198e1d9cd5b610438614b84b2d39948 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/227] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 04aa09221491b0dd9a7da51e2ddc7fe927f0ba50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/227] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 300439be51d787f26ba47b3b90762d4a6f3b8441 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 187/227] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 062aff9a824cd7651f616b23929de279406b4467 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 188/227] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 312175f85de5ef51e9dc4ee52e7e19392033af1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 189/227] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From cf446aa3c8317624cee1af33e158901b46a03387 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 190/227] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 8bd109587c66b7037c41c36341d5912101b9f3f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 191/227] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 587f1b1574b05fafe7c8c3a2d3eb17fb9bb67587 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 192/227] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From daea07b79f3c83f05d831eb907e5b32a6cfc5f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 193/227] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 3071fa0312eca84332d2ec000c5b30b0d002bcf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 194/227] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 9151cca9bff5820325fbc85c805db8e3bc5cc755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 195/227] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2a9a969c838971adce7472859bb82462d1095700 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/227] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 29c840a04a7d39a8c8aef9a66b678d7ac7f1ed09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 197/227] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 12666484adffa6d179d8079cf28ad4c7771fe3d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 198/227] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 7361b3e1d09fc22f3471cd588ec19d42e593d941 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 199/227] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From d6482d7fe2270f7fcd81b0e540697c950c41bf74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 200/227] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 9fd10c3565bfd430a06115729a520868a5c4af9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 201/227] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From d886bae41109610e7fc69954cea924a755988c15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 202/227] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 088939566da7909fa8c3db38502a23165be2c590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 203/227] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 61d87163c8ae8936cbf222c77d94f1cffaba483a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 204/227] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From ad5185bcdb6d1e9aa37dfbec3e57646232c18921 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 205/227] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From dc62e9274b1c6ff7b965a9fbb40db708bb3d8752 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 206/227] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 4c2fc4f23c7a00ccbd2b9166e2a1338eec194329 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 207/227] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From cbf7a7912f80c586ac0b89a33915590e3fbd2f29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 208/227] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 677335ca1a997b13accecd9690819d2b848d13e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 209/227] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c7d4b92643b5e85361270414bade210f3283bbfe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 210/227] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 2705f73b0d5..03f6b34d69f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3293,110 +3293,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From fe99839a2ac4f4dd267ecd95661b8c2b42902c4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 211/227] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 15b026c9337a97cbcc2d5a1e93c319169444ef68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 212/227] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 78052173848012cbf8691102402487f3b28038c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 213/227] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 8ff865f4f35fbe3573e287995734c75f70e40b68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 214/227] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 4c70aa2410b96afbe32adb5673376698129f90ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 215/227] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 4367b6098e93da3d08bbeb96cd6b36b789285d14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 216/227] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 3de8a9daef3053f861020ec837362f63f530afa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 217/227] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 14afaa0d0b08a64bc3a4980cf90e7b1b29f33c93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 218/227] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 9d2c1547c31f61530446a7c6031fa021d4cdd5a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 219/227] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From bbe8a5938c2459f44de87e5f9cf9f39b24ddbc56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 220/227] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 00f19c30a4452cad0c50d062cf3d541ce6a2cffd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 221/227] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 7e8cb1c4c66d6e717ec97ba75a9b3907e18baac5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 222/227] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 86cdc523a5b2209fd718d06e97687219b3540d35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 223/227] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 4a9ef50d843697c51c5b9b7cf606694fac380046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 224/227] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 2c09c123458a01f71aaf67f827213ce004af6f4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 225/227] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From c75d25e86779e4ef7491d4e2b3ead312fabae4da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 226/227] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 1c9bc6dcb70e85779adc68ac2d07352f7bd36f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 227/227] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (27 preceding siblings ...)
  2020-08-18 21:51 ` pullmoll
@ 2020-08-18 21:52 ` pullmoll
  2020-08-18 22:15 ` pullmoll
                   ` (24 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 21:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 215589 bytes --]

From 813b367da12f34755d68e6b64089b26354fd5151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/227] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 397e9c22e097042105d694d7d8fa00ce4d0bf0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/227] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 33c0d0e19531f46c00ac0bbad0a6511724b72218 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/227] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2bde2566e12feddf3ccb34920d23231ee8d0a76e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/227] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 43c19657326f55e303224c22f9f03137dce8b150 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/227] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 7a6fe68b533f9507b3e5aa5e8d930ec55ac47662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/227] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 9c49d327c5c33ce0ea905f5773ad8ffb7f5a6406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/227] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 597368074f260f51c74893874052b02c85ce5849 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/227] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From b533c99a4b2cf2693762e7084f41311ab1223d54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/227] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 34962350d4cd486c94baa43c69423c691ecc8b7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/227] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 348b6ae3e5eaee4607d860a84c7e41034fb47f03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/227] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 3ea0751cfe0f7707e4d19b8b9b603b06b7703996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/227] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From c4f7506bc18571c7bffee46fa97e334a1ccb2bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/227] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 366f5d3eba9cba9f0cc3f15d547fa00ea42d52c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/227] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0a6065e330fdcb932b27c78db3de5d856878aa55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/227] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0785a548282c87692ed56ad0e3dde72c33f9d31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/227] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c01f13cda2148e6b40e7c39c9db7409cd5c0fe53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/227] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 0758ca979d33c0c1bdae92967b5b9f05742c7bda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/227] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3e25e9ad7bc033ff2bbba62c74f139e753db80c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/227] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6307b61466c1635ba2ac41a4d543b105c4c8f81b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/227] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From b6450ae0b46592f89d8626902e4fc75458bacf1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/227] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8581c42f5b42b1026bb211bddf0b76148ab7f877 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/227] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 91360831cf69de1d7fc75abff83ef4c9b41fcebb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/227] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4ba8ef7e2755011be302df400fedafe29c463874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/227] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From abd0e0c24f8fe81f23b0eb302e41104ece431b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/227] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7387bfcebfaba71e9e70a2b9de7df48c927b2c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/227] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 622e7287227846ebddbb9626604e641e03c6ec48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/227] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0d79bc0d63b19426488cddf9a8ebd8d75189883b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/227] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 4280834ca775fafe52244a5af2867f1110ed9286 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/227] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5226ebf276524d35cdf0496e30a18583fe196cdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/227] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b9dcafe584d529609a26e506bf5a9d5f5698aed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/227] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c97583e25395291b125b7a42d71e5b234e472b77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/227] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 4876b595df21077d7066c30148fba3735d2b332f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/227] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 7c822f78b275a05a015658a8fbe7f2095893ef36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/227] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From ea9b97321d02c2248371cf65f800edf646a066d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/227] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f90eba50d23f8873e89c83ddbfd862e39b5e4bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/227] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From d9b35e2f07391a36198f2edbd4c004bb4a911bee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/227] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 3c39bf9524132059ad2a73520c87e1da675965ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/227] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 808c951481843a03e8c1ca8750a3ce0ff9d29a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/227] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 7e1fe2185ae4f0736c96b06208d68ae2de09c10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/227] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 859062650653af69879e522d5c809ca06dece870 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/227] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From a36526b78a9151c19b9981e911327123c71065d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/227] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 42b6972d65c7f3e54e213c6d99853f3f8cdbf8b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/227] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From d68a82bc505791dcc71bc91b29ca5daec11bc432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/227] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 476cea7afa1c874866e2fb2e31ba4236bd792634 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/227] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 11b2468b183885e70fe367281358aa29801529ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/227] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 1a7ee4568069f161b1af80e1a0d09421431302d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/227] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 656d893e599f3817365dc250f38c6894a3984d0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/227] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From bca3949e4ee14add088bff0cc3a459abd7273b6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/227] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 8fce50ccdd7e03d8691d3c6817ffbbd773e5a6a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/227] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 91ce6546cee81e0d311d40dc1da93da4540148ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/227] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 54d515d51ba2dfa7a155bffe5ab6425772bea34b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/227] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 8ec5d7fae77165566e0672e5de92269eb39aebb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/227] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 3064e063601c765e1c410bba819a7771ea81e04b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/227] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From d420edfb479d201f180fe3efabc43c9b0b6cabdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/227] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 241934deca88185087724fd2ae2de1a421f7b98f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/227] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From a380283dbf73022ce92fe14f00125947a9be60e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/227] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 1d7af605fb4f23b8c630480cee7e15df9c2641fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/227] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 81ac14c82f1e479cc811e5b86adb8b894c6b132a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/227] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 424fbdfbd0b5e9bcd6e9af34d8979a42e47ee729 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/227] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From dc65891504599a8896397fb2a604b03120dfa2fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/227] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c0de8a69448de5c177d937e182cf3bc31c4e3922 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/227] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From e51cfb729b0663d5d22db21e3a7e0d0725384bdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/227] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 20bc2b680b77f0226d3d580f84f7e192583ecac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/227] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 6371baa1776a84214ff8a0fa758aecc4dec73d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/227] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 1a1c771b8fbb34af5d32b8d3d0bca01db378b93c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/227] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 0ed0b7fead166e0ebfc0a6232251fc800442f9aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/227] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9bd6ff3817c2a5c7d33e4d8cfdedee044ed37ed6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/227] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 53aca3521ebfaa1a79e7dace71c42dd87e57cf83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/227] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 110a8017b0f3d53080a11cdd14a49325511a68ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/227] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f3980dc69d3f4d00fc24be986150748f4e90dbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/227] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 1e4b90ad6e27e6d021c6568f3853e2cd24d22d8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/227] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ed9a036f1450aab6317c6bbd617191c58673c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/227] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 61e8ea3ed7fa7b8cbda6cdd15962a3d47fe8734f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/227] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 02a682ff6c999f2f064e565d9be0b38fb061211c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/227] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 290c889cbbcd8b5b7f9c3c34a3c79d33f1f9cf84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/227] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From cba7f9edf1d71e85c570135507e4586c2012576c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/227] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 7fe876c8084b74733b36ad30feba2131d8a7b929 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/227] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 2a0bc80f9cabd3b70e5e6062c032869c282dcc63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/227] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 8c6b35738e1929e611bf6a9755f3112b243faef3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/227] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 2e2fab67b94e13cf5b8f6f67f96304d4ecaa673d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/227] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8a16fe1785c3d88b42bd1f3853aef284d3ac459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/227] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From f9eeabae45d877a540760cfbaa5a8dd216e6987d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/227] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From da20c245bf882651443f77430620cb99e678d285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/227] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 82bf5e85828ad4a989ed9611fef2fb741d03b22b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/227] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From ff345ea140bda9f7a0e9618f8ea5efd8ba49281c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/227] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From f47bf8bfd06bad49c1f89be33204fc936ce3dd01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/227] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From ab7e3df81b589cfc82ff5576a845b9f94e164405 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/227] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 31aaca641f30ccf454ebe8f779900b7fad5eb327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/227] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 46e5c75b1b5aa1f4d9ecb82e77e40fe6ab053039 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/227] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 292975301aa742fdffddd0c0c1704baaed092ea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/227] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 39f6f6f21485fa4f972fc9ba21c383fcb712f5f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/227] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 3d7ced1fa72918a8cb55fc818b5956b7a5540e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/227] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 21454d373a34797ea4a33c73fa6086fa96c7db53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/227] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 778b1cc68cfd447a0f21c7dd708f99c93cf6eefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/227] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 53fe5b1797828693e9e0f9a90dd655a41e5c71cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/227] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 3ee8eb7ced39de4ec66c5dcc1c70a5329a59aea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/227] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 376a91157107dbefdd37228fdb7eba5deb8c426d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/227] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 609e176c55cb5bb2435229e22bf223c4310ca553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/227] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 30a67b2182ea0fb0ccba7913ea49644872c538cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/227] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 1a4de6303a84ac863f9180a0d9453907cd8ef1b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/227] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 12fd3e100187b3c9e757d133c9f423bf32b09e1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/227] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 0f4202b8104305acbb7a1cef4863a4a38ce2a0e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/227] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From ba15891b054f8d360c8f5cc62fe23ac9f6a6f70d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/227] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From f1d2d39b8ec0aa6c6aea9bece3389464d67ea9a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/227] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From d182977cf95bb4bb9c0909b424937c51ebfc9f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/227] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From cce70e5042e94e8deee18d5f26f3d9b89d68384d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/227] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 0f681c52b52f21410bb0d8cc6a9119f6b8bf9e71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/227] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 079fc55105c8a98ff45ba9ed35c267f14605e4fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/227] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 8110f9f84b4b8236d98e71ac35ca74eeb5aa36c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/227] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From acf7413ef27d590cf4f559201c31a89ff295f71f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/227] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c5dda533a20b0a8a762d9e1559ec15495d690ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/227] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6052c4e2c257bb6f9e9ad455b2268c00cd9d9250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/227] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 74e246c7e7a6338263d2d07c90da506842ca8622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/227] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From c007003073463931d81cf102c4b6b58193b11dc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/227] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0178515787775aedeb81ddff9ce820264eb2d234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/227] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 11cd4743eba0eda69ebf9a2b507639725f149fc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/227] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 048b00b96f020af0007860ef03a103f32d6d2090 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/227] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ab224eb9f91fa33612e4ec37dddfb840663cdefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/227] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b39737d612a56b869e619c7240c1423363b22506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/227] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 6104d2d667dc9e1aaf9a0abfea1473e90fb91a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/227] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From ef5e9fe51e3f6a83542ff08b22469132908348f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/227] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 124e2f69b7e249f4e40837f37c72ac4eb8defcbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/227] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 4fb532cd22a29b0cd03476a04970f5548fc46de5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/227] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b3aa3960ac8e277c71d09122c03524511cc1ad80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/227] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 535f1de966503dcdb6102b8a269978da04adb5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/227] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 5a03fddada9c2a4912470d4f0c199afd37ccac33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/227] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 418247edf978c568aab95ad2c1a598e18f68c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/227] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From d384c06ca6b49fb7d5228c2c6baee62cc632babb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/227] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a485d95fc3d406329cfcf3280c9620bad16effa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/227] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From f9dc72ea8e03e1ba5779e6aece6c7455bfc76509 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/227] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f8552f0e821db6a2b72e600501cdd93ebee039f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/227] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 232cd3c85a0e22b3d7cbf88aaf1d49976c851b18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/227] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 4cba187a93f368767f944c9814fe4a74f70d1447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/227] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From ec66ba9f931d69f5e6e88f3f77ac4498447ece37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/227] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 17959b3ee81e88d0ab359330ae3523c0cd12e991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/227] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 69e9dcffd3ad213046746b03216a1bd60e4df881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/227] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 80b22e674ea04ede29b08ecf6d6bea38ddbcbba8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/227] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From cd6840a40dac04edf5805cf5710b0b85541d0421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/227] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6956dca58cb5ad9aa356066e110b550fec06edae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/227] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From f41713d363dc68fc867968c75d4f10c0a31470b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/227] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 87b0aa57cf579626810d8f5ea71e19e3e83d2260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/227] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6d3c393a0dfbe8cc69554e077a24c41689b65248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/227] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From f5275a66baa68d8eaf5f9df8c91ffce70bb7e890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/227] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3aedbcd7e927a12d236de39d3a3e0a5f8f0ec4f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/227] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 7228e914863ebbcf36f6901d0e3595382025f1af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/227] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 916f677fb109e4f9505f5deb0accc5993c23920c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/227] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 105 ----------------------
 srcpkgs/openjdk8/template                 |  20 ++---
 2 files changed, 10 insertions(+), 115 deletions(-)
 delete mode 100644 srcpkgs/openjdk8/files/musl_005_jdk.patch

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
deleted file mode 100644
index 97946ba424f..00000000000
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-diff -ru openjdk.orig/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp
---- openjdk.orig/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp	2017-02-06 11:23:47.041165210 +0000
-@@ -46,6 +46,8 @@
- 
- #include "zip.h"
- 
-+#define uchar unsigned char
-+
- #ifdef NO_ZLIB
- 
- inline bool jar::deflate_bytes(bytes& head, bytes& tail) {
-diff -ru openjdk.orig/jdk/src/share/native/com/sun/java/util/jar/pack/zip.h openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.h
---- openjdk.orig/jdk/src/share/native/com/sun/java/util/jar/pack/zip.h	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.h	2017-02-06 11:23:47.047832009 +0000
-@@ -23,9 +23,7 @@
-  * questions.
-  */
- 
--#define ushort unsigned short
--#define uint   unsigned int
--#define uchar  unsigned char
-+#include <sys/types.h>
- 
- struct unpacker;
- 
-diff -ru openjdk.orig/jdk/src/share/native/sun/awt/medialib/mlib_types.h openjdk/jdk/src/share/native/sun/awt/medialib/mlib_types.h
---- openjdk.orig/jdk/src/share/native/sun/awt/medialib/mlib_types.h	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/share/native/sun/awt/medialib/mlib_types.h	2017-02-06 11:23:47.047832009 +0000
-@@ -27,6 +27,7 @@
- #ifndef MLIB_TYPES_H
- #define MLIB_TYPES_H
- 
-+#include <stddef.h>			/* for NULL */
- #include <limits.h>
- #if defined(_MSC_VER)
- #include <float.h>                      /* for FLT_MAX and DBL_MAX */
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk/jdk/src/solaris/native/java/net/Inet4AddressImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/Inet4AddressImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -47,7 +47,7 @@
- 
- #include "java_net_Inet4AddressImpl.h"
- 
--#if defined(__GLIBC__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 601104))
-+#if defined(__linux__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 601104))
- #define HAS_GLIBC_GETHOSTBY_R   1
- #endif
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
---- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
-@@ -56,7 +56,7 @@
- /*
-  * Signal to unblock thread
-  */
--static int sigWakeup = (__SIGRTMAX - 2);
-+static int sigWakeup;
- 
- /*
-  * The fd table and the number of file descriptors
-@@ -95,6 +95,9 @@
-     /*
-      * Setup the signal handler
-      */
-+#ifndef __AIX
-+    sigWakeup = SIGRTMAX - 2;
-+#endif
-     sa.sa_handler = sig_wakeup;
-     sa.sa_flags   = 0;
-     sigemptyset(&sa.sa_mask);
-diff -ru openjdk.orig/jdk/src/solaris/native/sun/nio/ch/NativeThread.c openjdk/jdk/src/solaris/native/sun/nio/ch/NativeThread.c
---- openjdk.orig/jdk/src/solaris/native/sun/nio/ch/NativeThread.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/sun/nio/ch/NativeThread.c	2017-02-06 11:23:47.051165409 +0000
-@@ -36,7 +36,7 @@
-   #include <pthread.h>
-   #include <sys/signal.h>
-   /* Also defined in net/linux_close.c */
--  #define INTERRUPT_SIGNAL (__SIGRTMAX - 2)
-+  #define INTERRUPT_SIGNAL (SIGRTMAX - 2)
- #elif __solaris__
-   #include <thread.h>
-   #include <signal.h>
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 084c6ab26a0f3ac945d9a3eed917442a5aa39990 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 148/227] openjdk9-bootstap: needs -fcommon for gcc10

Add patch to detect compiler versions greater than major 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From d77c75cf36461636d8bea707a869398d7b8f42f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/227] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 889e5dfd3ab14d63868e246bcde53b93efc14a4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/227] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 88fb7a4097d1448b46669c7b0a223150460a8327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/227] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 02495b33d472d4549d51033c1348e40ee0bd20b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/227] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 6d436918591d3adbfa925b5de0031adaaf7344f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 153/227] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From f36ebbb6fb9765555f1d6f4dd6a3159e0040c3eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 154/227] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From f778a449550db66dc4c004d4f6a98b21d28f3902 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 155/227] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 6546502441389125ea632a56cb3217b29ef6c211 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/227] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 2435bd2d83cbb471bdb32242986fb38fd79f5c9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/227] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From ca3be9726737c88ed1a5c010297418919472ff60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/227] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 50a865af6c9ac60a3ea82e51f3aec0ec06cf86f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 159/227] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0fb6def43b76250a8b8673728b1dbd99ff475ff4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/227] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 38349d99da0823b0271a9741364aee7d384d811e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/227] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 7c95ddbfcb09ee6757a8183791b41c2c02f4e859 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/227] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 62e99ea45b007b9227a60c4d558effe72f54af00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/227] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 29a1f37e0bd0ca820d9ec038b5e0d36f227321ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/227] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From df86cf9ab4760a4646152fdff89c48205c733e38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 165/227] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 6918fae9072243dbbfabd3de3f5a018c624f9aba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 166/227] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From b8c2b9eed3a59b7b432f3f104e614d8080c89514 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 167/227] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 42211b5b2849da5059720adc71634b886506cf52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/227] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From f366f586797485eaa1e94ab9a3efb48f1368d2ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/227] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 1d1c9e5671058017c337bb6ffb9317e7feb3b509 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 170/227] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 1fcfb47216276b180394e522c8c0165f916a637f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 171/227] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 85b7bb661e7ec9105ca0b1aa9a1e7877fcfeaeae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 172/227] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 761ff86ba59dee9965debd85111d74441895bcb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 173/227] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From d12252c199338865a3ca2f79a258e49149e86083 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/227] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 3e3ddf5f92fc988fcbff99a3789b3b593c8b08c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 175/227] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 9b196bdc87bdc878063a1823a5bdf95b7a9443df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 176/227] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 5a5709459b5069c3f2114c7dc03b7abf2f382713 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 177/227] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 641f536613d2a764f02caf0a5e80223cc440b8a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 178/227] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 8e2457eb0b49f1c08aa5808e10f848257301f555 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 179/227] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 74ac39e692b4651657bf39839a62ecd1bc6d0c8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 180/227] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 25b98f2a2f74acabf9aee1dfb3eb2d8a199fe6ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/227] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 180870c733f3c07f49d28511c5b25b45b2ea16e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 182/227] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From ca792ee1aa4e5dfb791d9082ce85d879b22b93d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 183/227] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From bbfbcfad33acd973c3f8d62bd43bca0c5c8b23b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 184/227] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 6301f819dac0160669ce7e137b1f95d0021c9960 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/227] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From ebc56b42a9c4635b2de4a9cf41f0755990f9e1cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/227] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From ea0fb5254279f92662fc79d943841d8474c59e1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 187/227] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 09b0686e80f999c846fadd61c9e6d84d4d0ee684 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 188/227] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 29d83e497fe46a1b0a49c6acee3a3dcbb9512064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 189/227] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 866ed8e29291284dc1b93df8391ef4fbbef0a875 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 190/227] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 4bcc14e2f57629ee19cba14702b9d4f7281b80a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 191/227] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 9ab4119e58e743d97d01d1bac01daeb8c05296d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 192/227] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 7e5827e281429467d8566295b95860228ce76c3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 193/227] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 0009aec487cba3b8641cd08cf3a9dc188ff0b2d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 194/227] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From abd4f657696349d0aa7fd6e80158fdfe392be78f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 195/227] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 58206650e417b7f95b7fdaff50a11fd7885f635c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/227] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 22bead5c9a305ca8e09a5fb260e019fc2187d9b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 197/227] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From f0aaf236dc4e075c97096136ef6e862780b37f33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 198/227] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 050e6c0a669401d1faff8a1aadb09ab4acca95f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 199/227] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 17bf5722bb7bcef6b8bb94c614aec9f5360bcf04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 200/227] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 5f8cd2bfe308c40ef7ceabf105b1f3bae769985a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 201/227] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 47f47c44a5f806fe6a01a1934aca2e0e3d1138d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 202/227] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From cfed2d08470bffa11d49d76e8ceac33c51da94c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 203/227] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 84e0eabaa4ba6452980c78627f83a1bd087a8c4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 204/227] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 251cb6f2ae41e22eb93efee1bb9ac06adeae9f05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 205/227] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 482c343ebca739790a2418bf1b4888128bd89e2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 206/227] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 2e1132c4b6b21af59d2431a1b670463d69e9ef6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 207/227] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 10ec1238e2a0c3634befb157c584aaf3a4a4f0ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 208/227] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From c22ef166e9909f2a332023a3c5187377966a99e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 209/227] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 75ba365a726008360a5387d46f23d071d3637b46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 210/227] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 2705f73b0d5..03f6b34d69f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3293,110 +3293,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 06aebfd0e488972ae178b3332902894cc7797596 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 211/227] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From c5decc9771e1fb911cff07ac40628df034a1c587 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 212/227] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From eb6c30d600d6b08877bffda56512cc68edada542 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 213/227] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From e13291b692e3807413f4e55a09be75dc2bd65026 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 214/227] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From bfb5f2560f5862207a552162d42cc499888d1397 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 215/227] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 67c1cb42285fcb6a7c422c01555a999df2430372 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 216/227] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 74843096a2dba6377d89fbc11c5a29af372df822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 217/227] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From a2d26f536a039e1b290cdddc17ab602a02b6e4fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 218/227] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 5e7e4f32282a75b3a58d89fc167a4e4532680553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 219/227] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From eea2033806a0d0b184aa6f59339ad564a177338c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 220/227] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 7e0b6700761dca09fa04592a47f1179be423d76f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 221/227] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0173fc630e7690d5d8b5c0eef9f16a71d671bd09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 222/227] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From d9c2c097f8fb8d55aadb19f95b25c709ef9f8ad6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 223/227] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 29169486fe4b173f9693613b892e188bc5a40b5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 224/227] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From f31c17b542094cc939e62abb0d88d1f39524362f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 225/227] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From fbef175d22a6d994536dc9347c848022c33562a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 226/227] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 04b4b21a39dc79ad83cf176e5f8e3de14e92ac48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 227/227] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (28 preceding siblings ...)
  2020-08-18 21:52 ` pullmoll
@ 2020-08-18 22:15 ` pullmoll
  2020-08-18 22:22 ` pullmoll
                   ` (23 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 22:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 212437 bytes --]

From 813b367da12f34755d68e6b64089b26354fd5151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/227] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 397e9c22e097042105d694d7d8fa00ce4d0bf0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/227] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 33c0d0e19531f46c00ac0bbad0a6511724b72218 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/227] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2bde2566e12feddf3ccb34920d23231ee8d0a76e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/227] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 43c19657326f55e303224c22f9f03137dce8b150 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/227] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 7a6fe68b533f9507b3e5aa5e8d930ec55ac47662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/227] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 9c49d327c5c33ce0ea905f5773ad8ffb7f5a6406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/227] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 597368074f260f51c74893874052b02c85ce5849 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/227] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From b533c99a4b2cf2693762e7084f41311ab1223d54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/227] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 34962350d4cd486c94baa43c69423c691ecc8b7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/227] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 348b6ae3e5eaee4607d860a84c7e41034fb47f03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/227] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 3ea0751cfe0f7707e4d19b8b9b603b06b7703996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/227] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From c4f7506bc18571c7bffee46fa97e334a1ccb2bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/227] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 366f5d3eba9cba9f0cc3f15d547fa00ea42d52c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/227] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0a6065e330fdcb932b27c78db3de5d856878aa55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/227] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0785a548282c87692ed56ad0e3dde72c33f9d31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/227] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c01f13cda2148e6b40e7c39c9db7409cd5c0fe53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/227] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 0758ca979d33c0c1bdae92967b5b9f05742c7bda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/227] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3e25e9ad7bc033ff2bbba62c74f139e753db80c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/227] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6307b61466c1635ba2ac41a4d543b105c4c8f81b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/227] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From b6450ae0b46592f89d8626902e4fc75458bacf1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/227] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8581c42f5b42b1026bb211bddf0b76148ab7f877 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/227] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 91360831cf69de1d7fc75abff83ef4c9b41fcebb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/227] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4ba8ef7e2755011be302df400fedafe29c463874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/227] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From abd0e0c24f8fe81f23b0eb302e41104ece431b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/227] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7387bfcebfaba71e9e70a2b9de7df48c927b2c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/227] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 622e7287227846ebddbb9626604e641e03c6ec48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/227] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0d79bc0d63b19426488cddf9a8ebd8d75189883b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/227] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 4280834ca775fafe52244a5af2867f1110ed9286 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/227] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5226ebf276524d35cdf0496e30a18583fe196cdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/227] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b9dcafe584d529609a26e506bf5a9d5f5698aed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/227] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c97583e25395291b125b7a42d71e5b234e472b77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/227] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 4876b595df21077d7066c30148fba3735d2b332f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/227] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 7c822f78b275a05a015658a8fbe7f2095893ef36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/227] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From ea9b97321d02c2248371cf65f800edf646a066d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/227] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f90eba50d23f8873e89c83ddbfd862e39b5e4bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/227] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From d9b35e2f07391a36198f2edbd4c004bb4a911bee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/227] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 3c39bf9524132059ad2a73520c87e1da675965ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/227] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 808c951481843a03e8c1ca8750a3ce0ff9d29a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/227] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 7e1fe2185ae4f0736c96b06208d68ae2de09c10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/227] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 859062650653af69879e522d5c809ca06dece870 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/227] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From a36526b78a9151c19b9981e911327123c71065d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/227] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 42b6972d65c7f3e54e213c6d99853f3f8cdbf8b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/227] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From d68a82bc505791dcc71bc91b29ca5daec11bc432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/227] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 476cea7afa1c874866e2fb2e31ba4236bd792634 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/227] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 11b2468b183885e70fe367281358aa29801529ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/227] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 1a7ee4568069f161b1af80e1a0d09421431302d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/227] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 656d893e599f3817365dc250f38c6894a3984d0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/227] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From bca3949e4ee14add088bff0cc3a459abd7273b6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/227] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 8fce50ccdd7e03d8691d3c6817ffbbd773e5a6a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/227] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 91ce6546cee81e0d311d40dc1da93da4540148ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/227] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 54d515d51ba2dfa7a155bffe5ab6425772bea34b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/227] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 8ec5d7fae77165566e0672e5de92269eb39aebb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/227] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 3064e063601c765e1c410bba819a7771ea81e04b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/227] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From d420edfb479d201f180fe3efabc43c9b0b6cabdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/227] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 241934deca88185087724fd2ae2de1a421f7b98f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/227] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From a380283dbf73022ce92fe14f00125947a9be60e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/227] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 1d7af605fb4f23b8c630480cee7e15df9c2641fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/227] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 81ac14c82f1e479cc811e5b86adb8b894c6b132a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/227] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 424fbdfbd0b5e9bcd6e9af34d8979a42e47ee729 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/227] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From dc65891504599a8896397fb2a604b03120dfa2fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/227] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c0de8a69448de5c177d937e182cf3bc31c4e3922 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/227] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From e51cfb729b0663d5d22db21e3a7e0d0725384bdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/227] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 20bc2b680b77f0226d3d580f84f7e192583ecac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/227] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 6371baa1776a84214ff8a0fa758aecc4dec73d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/227] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 1a1c771b8fbb34af5d32b8d3d0bca01db378b93c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/227] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 0ed0b7fead166e0ebfc0a6232251fc800442f9aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/227] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9bd6ff3817c2a5c7d33e4d8cfdedee044ed37ed6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/227] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 53aca3521ebfaa1a79e7dace71c42dd87e57cf83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/227] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 110a8017b0f3d53080a11cdd14a49325511a68ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/227] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f3980dc69d3f4d00fc24be986150748f4e90dbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/227] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 1e4b90ad6e27e6d021c6568f3853e2cd24d22d8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/227] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ed9a036f1450aab6317c6bbd617191c58673c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/227] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 61e8ea3ed7fa7b8cbda6cdd15962a3d47fe8734f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/227] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 02a682ff6c999f2f064e565d9be0b38fb061211c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/227] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 290c889cbbcd8b5b7f9c3c34a3c79d33f1f9cf84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/227] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From cba7f9edf1d71e85c570135507e4586c2012576c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/227] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 7fe876c8084b74733b36ad30feba2131d8a7b929 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/227] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 2a0bc80f9cabd3b70e5e6062c032869c282dcc63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/227] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 8c6b35738e1929e611bf6a9755f3112b243faef3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/227] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 2e2fab67b94e13cf5b8f6f67f96304d4ecaa673d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/227] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8a16fe1785c3d88b42bd1f3853aef284d3ac459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/227] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From f9eeabae45d877a540760cfbaa5a8dd216e6987d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/227] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From da20c245bf882651443f77430620cb99e678d285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/227] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 82bf5e85828ad4a989ed9611fef2fb741d03b22b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/227] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From ff345ea140bda9f7a0e9618f8ea5efd8ba49281c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/227] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From f47bf8bfd06bad49c1f89be33204fc936ce3dd01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/227] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From ab7e3df81b589cfc82ff5576a845b9f94e164405 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/227] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 31aaca641f30ccf454ebe8f779900b7fad5eb327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/227] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 46e5c75b1b5aa1f4d9ecb82e77e40fe6ab053039 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/227] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 292975301aa742fdffddd0c0c1704baaed092ea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/227] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 39f6f6f21485fa4f972fc9ba21c383fcb712f5f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/227] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 3d7ced1fa72918a8cb55fc818b5956b7a5540e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/227] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 21454d373a34797ea4a33c73fa6086fa96c7db53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/227] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 778b1cc68cfd447a0f21c7dd708f99c93cf6eefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/227] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 53fe5b1797828693e9e0f9a90dd655a41e5c71cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/227] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 3ee8eb7ced39de4ec66c5dcc1c70a5329a59aea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/227] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 376a91157107dbefdd37228fdb7eba5deb8c426d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/227] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 609e176c55cb5bb2435229e22bf223c4310ca553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/227] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 30a67b2182ea0fb0ccba7913ea49644872c538cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/227] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 1a4de6303a84ac863f9180a0d9453907cd8ef1b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/227] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 12fd3e100187b3c9e757d133c9f423bf32b09e1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/227] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 0f4202b8104305acbb7a1cef4863a4a38ce2a0e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/227] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From ba15891b054f8d360c8f5cc62fe23ac9f6a6f70d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/227] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From f1d2d39b8ec0aa6c6aea9bece3389464d67ea9a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/227] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From d182977cf95bb4bb9c0909b424937c51ebfc9f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/227] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From cce70e5042e94e8deee18d5f26f3d9b89d68384d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/227] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 0f681c52b52f21410bb0d8cc6a9119f6b8bf9e71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/227] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 079fc55105c8a98ff45ba9ed35c267f14605e4fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/227] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 8110f9f84b4b8236d98e71ac35ca74eeb5aa36c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/227] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From acf7413ef27d590cf4f559201c31a89ff295f71f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/227] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c5dda533a20b0a8a762d9e1559ec15495d690ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/227] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6052c4e2c257bb6f9e9ad455b2268c00cd9d9250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/227] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 74e246c7e7a6338263d2d07c90da506842ca8622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/227] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From c007003073463931d81cf102c4b6b58193b11dc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/227] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0178515787775aedeb81ddff9ce820264eb2d234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/227] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 11cd4743eba0eda69ebf9a2b507639725f149fc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/227] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 048b00b96f020af0007860ef03a103f32d6d2090 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/227] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ab224eb9f91fa33612e4ec37dddfb840663cdefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/227] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b39737d612a56b869e619c7240c1423363b22506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/227] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 6104d2d667dc9e1aaf9a0abfea1473e90fb91a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/227] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From ef5e9fe51e3f6a83542ff08b22469132908348f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/227] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 124e2f69b7e249f4e40837f37c72ac4eb8defcbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/227] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 4fb532cd22a29b0cd03476a04970f5548fc46de5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/227] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b3aa3960ac8e277c71d09122c03524511cc1ad80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/227] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 535f1de966503dcdb6102b8a269978da04adb5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/227] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 5a03fddada9c2a4912470d4f0c199afd37ccac33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/227] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 418247edf978c568aab95ad2c1a598e18f68c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/227] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From d384c06ca6b49fb7d5228c2c6baee62cc632babb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/227] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a485d95fc3d406329cfcf3280c9620bad16effa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/227] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From f9dc72ea8e03e1ba5779e6aece6c7455bfc76509 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/227] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f8552f0e821db6a2b72e600501cdd93ebee039f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/227] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 232cd3c85a0e22b3d7cbf88aaf1d49976c851b18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/227] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 4cba187a93f368767f944c9814fe4a74f70d1447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/227] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From ec66ba9f931d69f5e6e88f3f77ac4498447ece37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/227] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 17959b3ee81e88d0ab359330ae3523c0cd12e991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/227] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 69e9dcffd3ad213046746b03216a1bd60e4df881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/227] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 80b22e674ea04ede29b08ecf6d6bea38ddbcbba8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/227] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From cd6840a40dac04edf5805cf5710b0b85541d0421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/227] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6956dca58cb5ad9aa356066e110b550fec06edae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/227] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From f41713d363dc68fc867968c75d4f10c0a31470b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/227] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 87b0aa57cf579626810d8f5ea71e19e3e83d2260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/227] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6d3c393a0dfbe8cc69554e077a24c41689b65248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/227] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From f5275a66baa68d8eaf5f9df8c91ffce70bb7e890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/227] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3aedbcd7e927a12d236de39d3a3e0a5f8f0ec4f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/227] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 7228e914863ebbcf36f6901d0e3595382025f1af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/227] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From a7e3368ccb7fdd6ce69ef388a66d0dba1841981a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/227] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From dbe72daf35e6f5cdedf26187080ed315d73fd6bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 148/227] openjdk9-bootstap: needs -fcommon for gcc10

Add patch to detect compiler versions greater than major 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From cc41b01f60b6f5c8761a70c47020c4d21eace88b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 149/227] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 26cf9afb28780b7e15f8cff253929af3862519e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/227] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From b9b2d68542c3cc53b77b77c0a786819643aed2b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/227] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 4676d93d37a856b09f4e6e1077513b93c3e05d0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/227] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From a983106bdce641c9a1315e584bc5a4ca6f7336b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 153/227] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a821dbaeab114d7af9cce160fd0123304d49a883 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 154/227] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 723fd45d4488a701c57429a60b1fb6f2cb3ad836 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 155/227] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From e2624d73ee1807fe98e3382b16cde0fdc0bbc478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/227] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 02d39535645568417c9bf15fc1dcfa33e187b39b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/227] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 5e3877e29eb09a49f67534ba98a2e5a74f70a524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/227] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From fa4db16693f7109bb1fe0a5f29f7905567d5ed98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 159/227] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 187cd0b06c7c228389139ea838bf62dd4cec51d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 160/227] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 007f581fdf79332dd68b1941866d8e968a0b5eaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/227] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 60283462dbb2c34cf97476f541418b24abe3fedf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/227] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 903e278b25fd83b898a1be40036ba17a63bb7c79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/227] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 35ca6962af43cf8e797afc264c49d33d8ddf4324 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/227] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 512c02c3eeb4b9aec3a86dc9937030ce5205de25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 165/227] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 8346de39812bc9314353c20cd13a937186d4cc64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 166/227] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From c9dc10cdc4f5fd3abc5d9ce8a428298c74a60009 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 167/227] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From c2925eb671de91721496acdfdff1b3af0339e356 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/227] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 6b61b33d9b0688e43bd8b2a15a6f39d2f8792935 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/227] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 1a91756706302f3a6ba1c766539e985f2ccd70fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 170/227] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From ea048802b4cee6ccc79ed2a87b9c3b069b1d975a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 171/227] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 6c8c5cb17e10fe95543ab80da6e641ed0b886f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 172/227] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1c5a4a5d486eba2499d6fafe659bcbdbfb267be2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 173/227] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 96e02c39234c28d1d35c85263a051e60c569e5c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/227] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From dbaa1e83622e5078e0751da0bbdab5727e4240b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 175/227] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 08367e328aff7b7f2d5f3bec2762d0dd78a8780b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 176/227] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a54a3ee2ec1156e83670903a8b7e8e58d4623d53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 177/227] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 6178a710f53cd1973b445be006bc279ed3d6130a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 178/227] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 0d72e81aa1d6e623c6320ff28e570e0c1e925ff4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 179/227] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 9eb1f7604e46fa90a309bbf21e13c09ef3c23778 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 180/227] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From dbd463450d1afa7d32449130b7ced123612e613f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/227] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From f05595e2209a5f61326dac69e94bbeee149bfb40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 182/227] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 1dfb44d5c512eddd38731229de221583af4a6dd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 183/227] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 4b4e10a58652f067f0f70c22a195d03079a3e9af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 184/227] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 9c07fd903c681a624483ecb8d2a4af3e0c3bedbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/227] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 26936e7a74c90a272cbf9e3fcc68fdf620a01bda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/227] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 6e20249e4f7d05d68afdeb2f11f73d5af0d924ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 187/227] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8ad210d9fbe412fa90e338017e854b69f34e5c37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 188/227] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From cf98495c71f0f1c03b504e381203767a5c1d9ca5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 189/227] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 21f41474aa623ff0f1be3393ea7ac4209d0998b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 190/227] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 19e8a6ee615bc6f1bd9ce4579f8f2ddd7bcb890f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 191/227] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 622965301ae27bce3de02a356d487ffe043ab478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 192/227] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 9f7862aaed3a42f2838e6a3b1824bf62249c3925 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 193/227] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 47401d9de52c2e9cd5b116d9cae1021d5b187d80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 194/227] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 4a5e649f55393ff47c04738ee0e93b8bcd8efac3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 195/227] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From cace03b55605e9822433dc92104c0ee3d579e2af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/227] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From f0eb494910cc7fa0e43f4f70a8ed18cd924fa0d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 197/227] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From db9361548de3b587a203b1939470bfc1fa314eca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 198/227] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From f91573c4567d9a7aa85773b90c302d1870210209 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 199/227] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 4cca9e32b5f585f198b9a9955b7718f6e7351b98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 200/227] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From f398af0218a7ca17934f1b59b2dcb47988acab6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 201/227] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 6908d29dde9a096ee4161ab402fc3b9cd0af9018 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 202/227] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From c94853440f8b2c348700620995595a09da885683 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 203/227] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From f98334dd3f19b9810d69dd0ce17c87761e292a55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 204/227] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 1a398a49bd4631785d4f9f6eb662063a86fa8c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 205/227] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 29ebfe45bdfbea8693514f67abf297e6de7166dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 206/227] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 5b5241e04169cfa8ecee685d9f0f3666f687b0dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 207/227] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 30fd21045699cb1e1ffbe348c4250960758241c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 208/227] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 1082b7a06962c1eb793d6ef678316c9e41437670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 209/227] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 1cd70136ee0e3109b9a5e3022caf5d0c4d139bd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 210/227] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 2705f73b0d5..03f6b34d69f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3293,110 +3293,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From cf8065368177018598b8de25f13b73ecfea74ed4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 211/227] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From a085282ecc7a4909546592cf35da83edbb47574a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 212/227] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 56beb2853ce522a99d398cf5695eed3bcbcef913 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 213/227] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 7f3f1e2405e4d4fa723aeafba236ef69c3d9d81c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 214/227] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 78c86f072e29cadaea9e1511276f571ad9ffb163 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 215/227] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ea6902862c3bd9e1d7231af1b7e846a6a63a3abb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 216/227] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 4ee011076354bd688b0ab985795737f5248701c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 217/227] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 4f4b5ab83e06ca594af2d033d672485e3985a126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 218/227] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 4471944d5be1f6d689d338aa97227cbd1fd9261f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 219/227] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 36153a420efc500d2c0fb00ba87ba5a190023423 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 220/227] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From b72df6a6f13d26d30d6796ad25e53ab01f21e982 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 221/227] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 2f88501bd84e212d32566834b6702e59f67a5f66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 222/227] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 482fdc316a826345e025610d51bc3cc783f24e87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 223/227] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From ff1c63eac7c07ec3dc98a4851c7239f47ec32c2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 224/227] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From fe0d932fb10eef9757724e22b57486f2a52bcacf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 225/227] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 6ef62c5f913d9643f692c7ce799ebbd7c2c24b0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 226/227] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From ed2a3e3f85ba1b1608249723613919f61a10ad56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 227/227] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (29 preceding siblings ...)
  2020-08-18 22:15 ` pullmoll
@ 2020-08-18 22:22 ` pullmoll
  2020-08-19  8:15 ` pullmoll
                   ` (22 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-18 22:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 215506 bytes --]

From 813b367da12f34755d68e6b64089b26354fd5151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/228] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 397e9c22e097042105d694d7d8fa00ce4d0bf0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/228] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 33c0d0e19531f46c00ac0bbad0a6511724b72218 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/228] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2bde2566e12feddf3ccb34920d23231ee8d0a76e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/228] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 43c19657326f55e303224c22f9f03137dce8b150 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/228] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 7a6fe68b533f9507b3e5aa5e8d930ec55ac47662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/228] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 9c49d327c5c33ce0ea905f5773ad8ffb7f5a6406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/228] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 597368074f260f51c74893874052b02c85ce5849 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/228] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index 591aad4a213..23ba634af9a 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=f0d3e7b92fd1641251f9e8669970ff922d18752663f2456424373f9b2a78aa0a
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From b533c99a4b2cf2693762e7084f41311ab1223d54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/228] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 34962350d4cd486c94baa43c69423c691ecc8b7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/228] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 348b6ae3e5eaee4607d860a84c7e41034fb47f03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/228] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 3ea0751cfe0f7707e4d19b8b9b603b06b7703996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/228] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From c4f7506bc18571c7bffee46fa97e334a1ccb2bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/228] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 366f5d3eba9cba9f0cc3f15d547fa00ea42d52c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/228] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 0a6065e330fdcb932b27c78db3de5d856878aa55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/228] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0785a548282c87692ed56ad0e3dde72c33f9d31a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/228] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c01f13cda2148e6b40e7c39c9db7409cd5c0fe53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/228] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 0758ca979d33c0c1bdae92967b5b9f05742c7bda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/228] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3e25e9ad7bc033ff2bbba62c74f139e753db80c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/228] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6307b61466c1635ba2ac41a4d543b105c4c8f81b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/228] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From b6450ae0b46592f89d8626902e4fc75458bacf1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/228] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8581c42f5b42b1026bb211bddf0b76148ab7f877 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/228] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 91360831cf69de1d7fc75abff83ef4c9b41fcebb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/228] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4ba8ef7e2755011be302df400fedafe29c463874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/228] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From abd0e0c24f8fe81f23b0eb302e41104ece431b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/228] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7387bfcebfaba71e9e70a2b9de7df48c927b2c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/228] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 622e7287227846ebddbb9626604e641e03c6ec48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/228] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0d79bc0d63b19426488cddf9a8ebd8d75189883b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/228] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 4280834ca775fafe52244a5af2867f1110ed9286 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/228] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5226ebf276524d35cdf0496e30a18583fe196cdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/228] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b9dcafe584d529609a26e506bf5a9d5f5698aed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/228] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c97583e25395291b125b7a42d71e5b234e472b77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/228] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 4876b595df21077d7066c30148fba3735d2b332f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/228] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 7c822f78b275a05a015658a8fbe7f2095893ef36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/228] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From ea9b97321d02c2248371cf65f800edf646a066d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/228] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f90eba50d23f8873e89c83ddbfd862e39b5e4bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/228] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From d9b35e2f07391a36198f2edbd4c004bb4a911bee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/228] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 3c39bf9524132059ad2a73520c87e1da675965ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/228] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 808c951481843a03e8c1ca8750a3ce0ff9d29a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/228] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 7e1fe2185ae4f0736c96b06208d68ae2de09c10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/228] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 859062650653af69879e522d5c809ca06dece870 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/228] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From a36526b78a9151c19b9981e911327123c71065d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/228] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 42b6972d65c7f3e54e213c6d99853f3f8cdbf8b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/228] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From d68a82bc505791dcc71bc91b29ca5daec11bc432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/228] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 476cea7afa1c874866e2fb2e31ba4236bd792634 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/228] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 11b2468b183885e70fe367281358aa29801529ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/228] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 1a7ee4568069f161b1af80e1a0d09421431302d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/228] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 656d893e599f3817365dc250f38c6894a3984d0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/228] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From bca3949e4ee14add088bff0cc3a459abd7273b6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/228] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 8fce50ccdd7e03d8691d3c6817ffbbd773e5a6a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/228] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 91ce6546cee81e0d311d40dc1da93da4540148ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/228] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 54d515d51ba2dfa7a155bffe5ab6425772bea34b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/228] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 8ec5d7fae77165566e0672e5de92269eb39aebb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/228] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 3064e063601c765e1c410bba819a7771ea81e04b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/228] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From d420edfb479d201f180fe3efabc43c9b0b6cabdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/228] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 241934deca88185087724fd2ae2de1a421f7b98f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/228] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From a380283dbf73022ce92fe14f00125947a9be60e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/228] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 1d7af605fb4f23b8c630480cee7e15df9c2641fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/228] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 81ac14c82f1e479cc811e5b86adb8b894c6b132a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/228] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 424fbdfbd0b5e9bcd6e9af34d8979a42e47ee729 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/228] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From dc65891504599a8896397fb2a604b03120dfa2fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/228] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c0de8a69448de5c177d937e182cf3bc31c4e3922 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/228] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From e51cfb729b0663d5d22db21e3a7e0d0725384bdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/228] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 20bc2b680b77f0226d3d580f84f7e192583ecac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/228] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 6371baa1776a84214ff8a0fa758aecc4dec73d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/228] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 1a1c771b8fbb34af5d32b8d3d0bca01db378b93c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/228] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 0ed0b7fead166e0ebfc0a6232251fc800442f9aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/228] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9bd6ff3817c2a5c7d33e4d8cfdedee044ed37ed6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/228] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 53aca3521ebfaa1a79e7dace71c42dd87e57cf83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/228] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 110a8017b0f3d53080a11cdd14a49325511a68ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/228] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f3980dc69d3f4d00fc24be986150748f4e90dbd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/228] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 1e4b90ad6e27e6d021c6568f3853e2cd24d22d8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/228] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ed9a036f1450aab6317c6bbd617191c58673c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/228] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 61e8ea3ed7fa7b8cbda6cdd15962a3d47fe8734f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/228] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 02a682ff6c999f2f064e565d9be0b38fb061211c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/228] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 290c889cbbcd8b5b7f9c3c34a3c79d33f1f9cf84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/228] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From cba7f9edf1d71e85c570135507e4586c2012576c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/228] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 7fe876c8084b74733b36ad30feba2131d8a7b929 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/228] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 2a0bc80f9cabd3b70e5e6062c032869c282dcc63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/228] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 8c6b35738e1929e611bf6a9755f3112b243faef3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/228] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 2e2fab67b94e13cf5b8f6f67f96304d4ecaa673d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/228] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From b8a16fe1785c3d88b42bd1f3853aef284d3ac459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/228] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From f9eeabae45d877a540760cfbaa5a8dd216e6987d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/228] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From da20c245bf882651443f77430620cb99e678d285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/228] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 82bf5e85828ad4a989ed9611fef2fb741d03b22b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/228] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From ff345ea140bda9f7a0e9618f8ea5efd8ba49281c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/228] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From f47bf8bfd06bad49c1f89be33204fc936ce3dd01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/228] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From ab7e3df81b589cfc82ff5576a845b9f94e164405 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/228] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 31aaca641f30ccf454ebe8f779900b7fad5eb327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/228] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 46e5c75b1b5aa1f4d9ecb82e77e40fe6ab053039 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/228] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 292975301aa742fdffddd0c0c1704baaed092ea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/228] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 39f6f6f21485fa4f972fc9ba21c383fcb712f5f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/228] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 3d7ced1fa72918a8cb55fc818b5956b7a5540e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/228] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 21454d373a34797ea4a33c73fa6086fa96c7db53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/228] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 778b1cc68cfd447a0f21c7dd708f99c93cf6eefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/228] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 53fe5b1797828693e9e0f9a90dd655a41e5c71cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/228] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 3ee8eb7ced39de4ec66c5dcc1c70a5329a59aea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/228] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 376a91157107dbefdd37228fdb7eba5deb8c426d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/228] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 609e176c55cb5bb2435229e22bf223c4310ca553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/228] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 30a67b2182ea0fb0ccba7913ea49644872c538cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/228] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 1a4de6303a84ac863f9180a0d9453907cd8ef1b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/228] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 12fd3e100187b3c9e757d133c9f423bf32b09e1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/228] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 0f4202b8104305acbb7a1cef4863a4a38ce2a0e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/228] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From ba15891b054f8d360c8f5cc62fe23ac9f6a6f70d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/228] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From f1d2d39b8ec0aa6c6aea9bece3389464d67ea9a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/228] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From d182977cf95bb4bb9c0909b424937c51ebfc9f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/228] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From cce70e5042e94e8deee18d5f26f3d9b89d68384d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/228] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 0f681c52b52f21410bb0d8cc6a9119f6b8bf9e71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/228] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 079fc55105c8a98ff45ba9ed35c267f14605e4fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/228] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 8110f9f84b4b8236d98e71ac35ca74eeb5aa36c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/228] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From acf7413ef27d590cf4f559201c31a89ff295f71f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/228] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c5dda533a20b0a8a762d9e1559ec15495d690ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/228] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6052c4e2c257bb6f9e9ad455b2268c00cd9d9250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/228] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 74e246c7e7a6338263d2d07c90da506842ca8622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/228] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From c007003073463931d81cf102c4b6b58193b11dc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/228] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0178515787775aedeb81ddff9ce820264eb2d234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/228] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 11cd4743eba0eda69ebf9a2b507639725f149fc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/228] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 048b00b96f020af0007860ef03a103f32d6d2090 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/228] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From ab224eb9f91fa33612e4ec37dddfb840663cdefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/228] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b39737d612a56b869e619c7240c1423363b22506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/228] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 6104d2d667dc9e1aaf9a0abfea1473e90fb91a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/228] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From ef5e9fe51e3f6a83542ff08b22469132908348f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/228] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 124e2f69b7e249f4e40837f37c72ac4eb8defcbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/228] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 4fb532cd22a29b0cd03476a04970f5548fc46de5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/228] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b3aa3960ac8e277c71d09122c03524511cc1ad80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/228] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 535f1de966503dcdb6102b8a269978da04adb5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/228] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 5a03fddada9c2a4912470d4f0c199afd37ccac33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/228] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 418247edf978c568aab95ad2c1a598e18f68c76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/228] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From d384c06ca6b49fb7d5228c2c6baee62cc632babb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/228] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a485d95fc3d406329cfcf3280c9620bad16effa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/228] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From f9dc72ea8e03e1ba5779e6aece6c7455bfc76509 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/228] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f8552f0e821db6a2b72e600501cdd93ebee039f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/228] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 232cd3c85a0e22b3d7cbf88aaf1d49976c851b18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/228] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 4cba187a93f368767f944c9814fe4a74f70d1447 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/228] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From ec66ba9f931d69f5e6e88f3f77ac4498447ece37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/228] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 17959b3ee81e88d0ab359330ae3523c0cd12e991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/228] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 69e9dcffd3ad213046746b03216a1bd60e4df881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/228] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 80b22e674ea04ede29b08ecf6d6bea38ddbcbba8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/228] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From cd6840a40dac04edf5805cf5710b0b85541d0421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/228] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6956dca58cb5ad9aa356066e110b550fec06edae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/228] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From f41713d363dc68fc867968c75d4f10c0a31470b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/228] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 87b0aa57cf579626810d8f5ea71e19e3e83d2260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/228] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6d3c393a0dfbe8cc69554e077a24c41689b65248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/228] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From f5275a66baa68d8eaf5f9df8c91ffce70bb7e890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/228] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 3aedbcd7e927a12d236de39d3a3e0a5f8f0ec4f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/228] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 7228e914863ebbcf36f6901d0e3595382025f1af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/228] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From a7e3368ccb7fdd6ce69ef388a66d0dba1841981a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/228] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From dbe72daf35e6f5cdedf26187080ed315d73fd6bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 148/228] openjdk9-bootstap: needs -fcommon for gcc10

Add patch to detect compiler versions greater than major 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 0ce06c1804418e4cb19ecb59aa46e2bcb5c8c1a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 149/228] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 72e0414b9365eac7ede9f0de2251c97b40a7d274 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 150/228] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 475e7de53fb1fbb099cf791615d69586855dc8e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/228] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 2ad1ec0410101827dd02662fcc24dbaa99493576 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/228] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 1990bfe620c48227e4f8482ae21ec883d540f70c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 153/228] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From d412c49622ceb9c9564534ca92be7eff63b682d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 154/228] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 06024c610a83a039323798ae1228c0d5e29d2ec9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 155/228] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 2509d8eb930363c8519e2e9263b33cc2dd15cc26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 156/228] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 7823845d3c1ef2f087b1aadcb6c1234ccbb04f06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/228] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 37d50e00d7ea85b000c1107356a56b8efe37d9dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/228] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From c15c5f6b959a5470ce5876375718f3150485280e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 159/228] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From b16e7db575a13c387294e6230faed182d3136e51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 160/228] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9de9a35400c49179eb2a47db92061754f270d207 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 161/228] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 0fca8de5f207d3232e6ec4163de69635ba90a934 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/228] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 7d585907f275367bb8a022998f4f7bcfaeac0822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/228] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 8efdf19563042ca4dc5599c1506c914abe1f771a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/228] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 3db3083b6be76672aee293cc3a1fd0a48e25a278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 165/228] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 8ac1eb8fef3a7fc20afc2fb3bdc40fd5b539a366 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 166/228] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 0fddced3ce3a1697c9c33edb0b738293855441eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 167/228] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From b16dfe3429e9c04308c0361bd19a4ab98d53cad2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 168/228] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From f8f04f3d1fff438fecd5995b54151c2150c63e4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/228] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 82161bde3523b9fe724a2b85fbbafd2ff7f04364 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 170/228] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From e217650222b5600b03adefd3a44f47edce083c7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 171/228] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 7d4dccbb955bed64927138146845250803c4f9f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 172/228] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From a14ccbe54026b6d985bae08c5be03c58bb398fec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 173/228] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a633c6a8ebbf6d92a87d1ac146715b5ee836a174 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 174/228] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 8ba6d9a800733b31fed5b1b6cb7d5b81177760db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 175/228] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From de9fddff1a34f38bb20e84e283571ac4e61a43a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 176/228] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 148ef32f8c333e77989d0c2ab0288e23719743f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 177/228] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 47c7c54863d991372e8d1ed10502650c791df48e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 178/228] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 3448ff43ebde669756d0e51ed7c95d95177f453e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 179/228] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 5fa57999242c2a51dd35a7de84d750038f96887c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 180/228] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 8aeadbbcb8141f77c896d8544e9c1eb994fa66e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 181/228] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 87dc4f4acf735533ae74168abad1a48566eda0ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 182/228] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 3362c4cd23200ac00110119b68bbecb9f76e756b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 183/228] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From ff5010fbbf6b9071d91d5b183ed2ab46ca87b908 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 184/228] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 9ed6c2f8b1998b0c00279bfdd22483c90682d04e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 185/228] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 478e17eb2a2d2827bd3ab073e01484e4f2d590ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/228] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 2e5a05023ca41b37a3910a36c244ae692ca9d654 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 187/228] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 3aa69f9f7bdd17c4b24312855623a7f16de6c3e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 188/228] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f3c18e1cbdb521778c6776866b3370a535cff3bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 189/228] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From d75b7c60fc25188b377828651aca1c5adbbd786b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 190/228] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 5a1f41fdccac8b74e14ea327e99e44841ff442b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 191/228] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 6cb134b7af2a38071e3cd33bbca5a90d4524382d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 192/228] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 344c30e2e0c85140202ffc8ef85239bc84a40c6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 193/228] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From b01e8bce7f8154a9c1dd43757ae415204b7dd5a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 194/228] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From badf198264e95cb616e690275fb9c5030985ffa6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 195/228] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From d1355ec59d94da690f3567547809338a8c62e1d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 196/228] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 546669c78f6e4f597137034947f9e19b94cac49f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 197/228] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From c77f1547d020659819b63e5634a811e1e5c18596 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 198/228] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From a2b80fe453879d6165069d8a003df26c3110432c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 199/228] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From d5d03bfd6dcc03b5752b4a1f97a3e6c65d18ab50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 200/228] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From d4ed735bd5264663e381cc9ed6bffe92046af89f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 201/228] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From cab1b93804698f768b34b8877d3bffeb56177bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 202/228] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 979d680a3ca54bb09f5b05dd7bccf2b3b21aab5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 203/228] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 4a002480a8fb6859ab9da3d24aca00aa566bfa05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 204/228] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From b0e79978a4a5a47067b7c24eb4c0d8a7cb84dbf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 205/228] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 89f1221acb455f4fa809e532ef2cc6f009fca575 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 206/228] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From b60fb75e8cb8326ba87ece25e0ec74c7d2ff21f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 207/228] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From b6fbda8416393ab1c5cb5b1807533a22a49c35d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 208/228] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From a8f09a3fce028b91f55d3ac7e9bfb546fca1279b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 209/228] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From b87d6a5f06da2b1bfdf633b9f22c19182b3ff0be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 210/228] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 994953e56e7ff23108a7762f9156f10136a9badd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 211/228] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 2705f73b0d5..03f6b34d69f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3293,110 +3293,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From a5b8ce6604faefa50d19b498f56a4f037e6f9766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 212/228] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From f23ccdff5257817f332caa40c46514be9450a9d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 213/228] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 59ca38d9d8c9a0a5b87158f565c86e0104a6f246 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 214/228] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From ce70a6cf88673ff4adde2c9ceed7618ef0c5eda4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 215/228] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From ad39bea23de99af2a6ad8e921789f0a0f9c609f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 216/228] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c443bcb7a16adf5df8d8f604360146807f50a4f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 217/228] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 3ae827c36196646d8f25e9834f5d004690b38e9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 218/228] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 71dc650c2308bbb92a6aac3c2f3e822e607cdb62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 219/228] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 527826716853b32e358e909ef5c2ca1353031dce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 220/228] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From d75dfe5a629418bef0cd4609a0926cd45f72b09d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 221/228] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 7bc999b8353c0d3032f2f0bcbf627e200b35d6bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 222/228] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From cb8645262ba192de8837363219253fb3c00146aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 223/228] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 78c965b863092cdb5de9204221d5bb1c217f6722 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 224/228] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 31d58edb18f7a6ece84eead3dadcaaa02cd7533e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 225/228] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From f103fe258fa8b4ac8970423d15357a0a0106c5d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 226/228] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From d3ea0d1dd1aa093fecf4b5a622f9b81634baa502 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 227/228] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 2e69795bd2d057091837e577cdd7abd09addae05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 228/228] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (30 preceding siblings ...)
  2020-08-18 22:22 ` pullmoll
@ 2020-08-19  8:15 ` pullmoll
  2020-08-19  9:50 ` pullmoll
                   ` (21 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-19  8:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 217209 bytes --]

From 6c5867bcd34644d5e10cc651413306bb15ce9855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/229] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 6905dbc47db167cbeefbdb46e9db316303c79162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/229] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 589fb8037d0aa9ba5ba5cad6b34cd6623c62c3b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 003/229] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3733dc32ac137a5ccb24090ec48429e170b009c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 004/229] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 79a3b04b11dc45dd50df511e057d2dfd09b7d71a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/229] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 91cb850f68f6c26f093c1708d1cdea89f3402453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/229] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 5d8e400a89cb60fb0f85bee860a82823aeecaa8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/229] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 95a9d6d3452eebb1b593b1542df8f73179d82f9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 008/229] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From f78859f8249de537ade9eb895297a6c5f5273145 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 009/229] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From f38d7b286cb072a708910303f0ae85ea8928598a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 010/229] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From f91bbca196a0f95b8d2eb7e41f5435a129a24605 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 011/229] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 49f292239bad0c08ca60ba9ba00af4849fb1ba3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 012/229] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 1a0d55632ff337aca08a4a94b536e1fed63ac0e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 013/229] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 136531e208912b36abb9957a50ff256625427bcf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 014/229] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From f64a6fdf5e65a0bcbb586fc1920a177db6dfdcde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 015/229] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 23f6f2fb5198f25826f9551481db05aed38c6efa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 016/229] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8ac15d197c74b714c792f3dbfa445243eeaba6df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 017/229] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 898a2c6adab7026942c52480a021e8602aa58e7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 018/229] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From cec6be243c3ffe6252843834346107c772de0a8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 019/229] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 03fdea7babf7eecd646c0060e574d1d9f31ce117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 020/229] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From b18089ca85e84260ee5f31aa126d34ceed030e4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/229] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5a8c82add3e4f32266085f933bd742245148c7a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 022/229] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From d3360a17179ed76935ff5d8db2127a6a69b37f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 023/229] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From d2ead1c3995e4c27fc89fbef8550debcdddf996c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 024/229] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 66adf435fa6906c2a3fca84f39501c27164de432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/229] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 8ba126df5ef548e39724a7a5dcce0da40c797596 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/229] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From bb95f970d95990f7f497f7c08f2d91948dc8a1fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/229] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d4d0cfa694211594ca6d812ac8525202a6e179e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/229] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From f3c02c55fc20c24911825fbd5f71305da2bcaf5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/229] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 2cdb28167240683a2ed67950a35e60b02379433e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 030/229] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 77f627159ccbe97425c453109bae51d5c49a761f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 031/229] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From dded7bd1f93ceca9e449a18a581f64349a9142f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 032/229] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 4f384fdaaf286d01f7efa820a584a2750eec534c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 033/229] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 71913da5b87d7b683d31e0d78ef5296c089af489 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/229] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 01a9b5d3d15a4a4b2f86fbd134002f34b53a9ce9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/229] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 766b1998aa57fb7a68eeb50e9a53c6960a2338ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/229] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From c9cc0cb51fa42eb5011272359f91769d8f878124 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 037/229] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From a43add1bccfc044f85ff0944135b82c21a59d9f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 038/229] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From ae419ac4da3243d66356fe5fd2fdf285e61a8a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 039/229] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 113822ec175fbd7d5195f9b770bfb887cac32b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 040/229] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b8eb850be216311d9c2765af6d72923c7b991bb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 041/229] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 241fec7291cc61b7f9a8eff9539e6b4c78b66870 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 042/229] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 7f9a91d17fb9543742d0922e9503ea87c657ccb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/229] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From c108ef34b42c3be21ece0e46664ac889995bfb92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/229] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From caa2eb9442a2a229b94596a02473120fc63a8159 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/229] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From ca18417fa59a1b9eff85d684ed31b473c01e9d5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 046/229] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 9b6d868fd231d14650cd568563e9950a1a283313 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 047/229] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From f2dfc22db23f14c7a842996290662a3804177d0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 048/229] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 0f576ec481e08e3ac50af0d0df1581e52284f5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 049/229] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From ac08d9c6aa4840f8aeb86e22b6f4f41c328d9ab4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 050/229] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 375337c92342513e28716a220619767d435a7cef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/229] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 98e59a4647435521ad3d5bd0352e697434028058 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 052/229] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 07413e1883dfa9177ef9267a8dd5891a51168821 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/229] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 7d5a16a19cd4300d5aa9ea999a9182c023f3b5d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 054/229] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 3b2a13d3e24339de4b688d5623bfc1549e9f1183 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 055/229] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 45f9dd7345464b92c393ecf3d7bc7ad5d2cee4d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 056/229] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From d4957d593b8c46b00a3e6f4a72f8fa4aec01f075 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 057/229] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 05702145f548444f1da7e0828ab2ffdb5d6b6cfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 058/229] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From be90af8f6ef590583ea98c08eca98e5559611899 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 059/229] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From a2121a400a517a71a7361553963c47a50d9dff08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/229] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 19542d6ca81206b70188b46896e1034c040798ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/229] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 775f6a17a6669e42cd93d649bfdfdccea11b9bd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 062/229] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From aca703dec14b4a83b362787b203960f8c928f647 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 063/229] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From f92b33d1b0def30ff0c52c52a552d6f5b569596d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 064/229] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 2f44f82fa52333828bcfd108a1fd7817991b3a09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 065/229] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From cb5e97ceaffd417ba0c71849f4ee93efd03089ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 066/229] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 556490b9090b2ebd67cc92d39fa1b55f03de6701 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/229] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 1d59ef9919328e5ee0197e94fe5ea45d2fb8a492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/229] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From ea0b5d87fa207faba748f526e94eb3ba5202fc60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 069/229] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From cffe7b324c70e98785261b9f557e13c3262a92fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 070/229] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f0b9968d6295c853841ffe44baf0d723417a878f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 071/229] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From ff88b3aeb48956fef477a532afd174b53fbcfdea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 072/229] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From df8449425f5eea2cb7adcfdc0380d4bd598b3e35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 073/229] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From e4f6dde4770970632a6fb4caad81c46058a38656 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 074/229] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From a487c47420a219c4eedf732fb48d4ba454be5f22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 075/229] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 400bb62e39405248d5e086e634f382259a5223bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 076/229] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 57468f90f313f2a89dbaa615320d7f22d26c749c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 077/229] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From d154b79d2d55b7bd65f4479eef9a22176a2f5b56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 078/229] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 9e903d597949c8242842abd5371f69a51cd144b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 079/229] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 49c1d01e4764bfad61eaa3e92d0e2f96c4ddfd1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/229] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From dd64a90cf8a230cc321150b8a10d295ad210a4a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/229] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 3ede8d5cd861cd03a43e5498989b03253c7a266d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 082/229] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 1a3f3dc796c6878410b9fc29740158a58554633f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 083/229] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 160636606267380f11f6f6c53d069e6ae1f9af98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 084/229] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 8b4187d5c899542a776fd01251dc224387e89645 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 085/229] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 1934922754e04f8da5c1990b533a1b7f2f467435 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 086/229] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 87689623822ef3666aaa19f1e55863516b85fdb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 087/229] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 0de142a4dcec14fcba8e035fe85ade5be04481ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 088/229] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 466f9c55b280c434a077b165604e12d4f31ff903 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 089/229] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 39a715e47d8ecff0f293f593690ba95b51da7c10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 090/229] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From e63c042560c92829e831e003f097d55b491f2643 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 091/229] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From e71b9075fc7f5d3135a27b60ff995042ced91da1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 092/229] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From e269b965f0ebaa8ca3a5825b52a7c88d76a6b586 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/229] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 1a099cf1979a9f3186124c5b27fe6cc49a8cb301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 094/229] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 3c22cdfd33585110276b3c80d18a381a16dda5fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 095/229] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From f223fdfa63d54f930bb6b6e817c503fb14417be3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 096/229] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 048cafef8ac9d2e0c46198099881156772e28482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 097/229] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From acb1f94e11354cdb30d02e95e79ae08d44c14e79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 098/229] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From fa1203b200883f37ebfd78fdd2839e0ee91fbedd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 099/229] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 0a08926fff7b464e3af1ff3e312391385f6fe099 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 100/229] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 2f6bed33a679028c2525a4dffba6a3e6c808b8df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 101/229] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 8ad9a87eb4614259e69201f5119f4674f28026b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 102/229] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 1e6b725b9c66485620c62996e28adfaefab94d1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 103/229] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From e53e4e074e7f1f1d99a3fb67ec19989caf21e528 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 104/229] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 9af8324d3958b36a49941e8fec853ebc25ca3bb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 105/229] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From fec294c843b7205dec20a1c811c91c7d5f979853 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 106/229] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From bd51c945c4f17beee2b44ecf79ca94ff66917800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 107/229] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 5e3263c0794166117cc1bbbb401f801a263ae1bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 108/229] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 5b70ce6811210f847b84892336675f2aca3d4803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 109/229] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From aa921adde6eb5def3424d0085e57d962ffdbf937 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 110/229] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From d68fb9897995e9447aa0d3310e71ee9d606f1511 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 111/229] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From ce6e07defb11b34cc927659ea413b2ad2cfd7254 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 112/229] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 9be40a3aba8d33c25306dc08b022a35f40ee1014 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 113/229] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From c38fe8a8927260d542dbda3188c258f3cacf14a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 114/229] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From fb046a0893ff9bf29412e513e03c74c3e03cd3b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 115/229] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e4b1abeccc38e985e777edf578641800f5636045 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 116/229] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From ded4200353d2de00a668b579439bb7a199a03786 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 117/229] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From a7e45779f691e09fd3297427dbd1a8af428529ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 118/229] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 4b7fdb6989d88f2f3c6a149b962af58dd11ed61b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 119/229] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 40896c7a5691cc3fede26161a396df136c3f60ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 120/229] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 79a463934993585625471219101fa9e55d4dc160 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 121/229] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 522382e97f47d0e9793f323df4c61edb51f171b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 122/229] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 6c69e7c034c971c21702f7bf3a0453cc38b52e39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 123/229] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 5deda0b298a1ba39a9ff7fd4275392c090eed2bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 124/229] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 6a70e170f6a4ec2d21e1742f8f17b03f112b2284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 125/229] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From a2e52d2c2ce4aa3774c432316a6005f966867081 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 126/229] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From f706f0817dbbb947b129ce0fcb555aac4db8a6df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 127/229] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 9536dc94c3ccd0dbf157c412cc5d449c47686ed9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 128/229] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 5a15d7636c26662562e9d5cb2f781636487b66fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 129/229] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 5d609c035a10d4b18c8bf3c7d5f381f26d7f4287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 130/229] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 9762567f5539ec7d81e7531d095b0068d724b9ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 131/229] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 4c50b7bb1db539d2a9b8b01a6850b7346e85d00f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 132/229] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 296ab7ae2cae3fee526875eb78d76080d068dae4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 133/229] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 4a788a472c4bdcf1cf6799e4fee9ead55a768ab4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 134/229] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 627c75465117270e3797b9e71a8e864c57131ecd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 135/229] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From c2203bba95a48daa996af33147f27100cd9e22df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 136/229] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 0d35976837bd20981ed1c25d451a53d153079e9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 137/229] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 8efd0637da9a209fff9826e6347952d39e14ebe9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 138/229] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 60f707022643d2485ffd3b5e6c53e48e9fb3011e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 139/229] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fcaaa2cc14d7791b6097c1f76511b72c534e1adf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 140/229] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From b88a35dc412664490549cd342a2ce4c041539fb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 141/229] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 08b51b287332552b1412293c67722a3e3106db9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 142/229] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6cb6d95e6ca656335c3f191442a86e7cf33ff3e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 143/229] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 7ca0a91c1f5ceb920843ececa7a979d826902972 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 144/229] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From dcf56f7e4544366879181944765d8bbe74dc2bb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 145/229] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From dcbb15dbb417601e602077f240c9e3535de5884d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/229] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 801b926b48719b51a5e9de471daacf4c2e3d4f1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 147/229] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 7429d0c1464186cedd0cd769cc44b705e7b8b185 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 148/229] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 117590b8038f25bd548ceba9571865f2099fdec7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 149/229] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From de85717b59f4e29b91da6ffbed1d6f63fee7b62c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 150/229] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 38bffdf7c6ba4bd3e0b7bf6cc3189edc6069a6f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 151/229] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b91a76a64724fb480b93cdc10dd85c0384abe967 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 152/229] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 9c9cf091a1def6eb88a8d8d331b628f0ad673632 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 153/229] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 1b34b889598137582a0c7784553eabfed56c421c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 154/229] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From dae83894e8be075bb5f0fdb98a2994b7d589cc9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 155/229] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From e2058554fba3c8c31b3d230275db800a9cba5e3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 156/229] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 199d773d9e4ec13e70b04bf0c992b49dfb53d4c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 157/229] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 6af2811d0044bdbecca45b98c10eb69b355b57f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 158/229] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 25c64e012e24e165411b87fd7b697d08ea003a49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 159/229] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 4a3f33747e8e1c3e4913035841261cf5fb326a6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 160/229] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 88796c8637dfd5ea7dc4f176dfde945a52ff7bea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 161/229] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a015e5f0b3f3034859ffdff20cb94660caf99aab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 162/229] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 01cadc278e9f84c548a853057d4f46d3e80dc6e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 163/229] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 4318698906b7aa624239c1eda14e12f114c21237 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 164/229] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From ab11cd63f079d4a093b2135b8af95063758434f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 165/229] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 0fbe4d170b4fbbdd6e8f91e3299924d4e904fe4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 166/229] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 558f81011bf84c7a31d5d8227bd692464fca8898 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 167/229] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 4770ea5168676d804f845e536fe0f041bd596781 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 168/229] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 2d7614cfc5ade258740954aacd8e5f0b49d1350d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 169/229] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 0cc6f49f38196b830d818a1dd07d98849cc2af39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 170/229] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 54a2d271575264428fd407642a55c275cc56446e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 171/229] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 18ae697cfc415e0d7bb5da0bbbef3cb6ff0704d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 172/229] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 4e404d5659f394535acebef43473fd5845f49e6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 173/229] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 5b5121ef52ae99aa4428939007eea1df46e4c476 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 174/229] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b737ef6e4db34e40c56f222cfceb95384e280cd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 175/229] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 5c42b473b9f7c8323117db4cde3f3f1643413f9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 176/229] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From d53313c568872dff6b1103fc5536c29e4ec05d11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 177/229] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 4482bcdc5e2f2e3c1cf2931dc7164978172ac09c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 178/229] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 950289575f76ebe658c1fbfbac117cf9e24d1cb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 179/229] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 54c3d83bde6f1832a771f5bc7c018dc0fabe021b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 180/229] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From d552de95d154d3a1b7e19080ce6d52bd61a75259 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 181/229] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 6a3585e1425daa095851fa0b8d1dc0fa1d60e175 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 182/229] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 969319eb0b350f719ed0f8f48db2def2b7aaed42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 183/229] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From cc3e9badf21a7baa301e7676231e4334ea078b1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 184/229] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 0e80fd511f9f578eddee5da49b771ded0db02980 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 185/229] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 4b5aac87ea495925a8a5e2a48757a8a68add6769 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 186/229] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 9b0de378f920a24f1551aa40d2fd76fb9ab8bc10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 187/229] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From bee5b0cb51b396eb4fa33ab0a96d86ac8eb478f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 188/229] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 4394df172b967409347fbec6bea3550cacc16b84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 189/229] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ec67e0d2dda9877867a88231bc61502d5d684da6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 190/229] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From ed2b03ea575de189af1f518f34133c0eac9a4609 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 191/229] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 986ef4a709af0464baf0ccf40222c11055dd74f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 192/229] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From bca6255b4b3aa7ae11c895a1d92a9792d871fd49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 193/229] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From bf39a52c8e8a7d8b02be5c345997b2149eb00b8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 194/229] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From bf69e3b8e4166c8e654c005d739461f385f29d09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 195/229] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 819898f4af03f272c68efd848ce20428b60478f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 196/229] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 8d97a43d829de50af8ff360b54bef3cebbb432ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 197/229] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From e5010cd4ddf2f4c1e0dafb0801bc807c92f9a8c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 198/229] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From f6fa4c8ecdb6cf70aa6803eb3bd86588feb8c352 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 199/229] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 384b308ed6f136d3d43261baa2d73e655241acc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 200/229] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 54089f496b3a0101a6dea8e5bd293d66f9374e7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 201/229] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From efd341bc23151651bdc453f918cf4c48ac09f428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 202/229] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From d8ef2a6144a0d41226506a08a522be59b246fb48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 203/229] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 6c4e72412d4e0459f3aaea1a5d3547a43faf174d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 204/229] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From f8bc972a60ae9b5548e97588a01373f8afad7b91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 205/229] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 106da9098cdbaaa50bae781bf04528d946d6c178 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 206/229] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 73ffa1c45e88e1fe21336a54154589bac6c52c7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 207/229] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 25c9b2b12f7af3092ad91b17ada1182931abceac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 208/229] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 0841b61a252a5611ee9064d4b6cc329f7eb6222a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 209/229] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 27ff7e81533d5aa3b28226d1463b1fca537ba640 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 210/229] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From aed69bd2bdf1dbd75eee674fa5b8c41fbdd62a3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 211/229] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 5437b51bdd85c191c5d7b05a83e52df6ee351152 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 212/229] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From a849fe0fd993352e04dce4b46073e19f9f5dfb6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 213/229] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 7965df1d3d44962444c2167b784b36fcc918a36f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 214/229] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 4f361901a8e6418952c4685366cb51740f21d194 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 215/229] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From e86e1b61fba1990d1c2324fd0ad0c63ecce80434 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 216/229] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 9fbc859fbd8294541e8d12a77559826855b8f7d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 217/229] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e9b213f038d04a348b7024dbb2ff20ae09c63423 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 218/229] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 96566b87482aaa2fa1f9bd3b6f1af9e4fd26a009 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 219/229] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From e2e717be9c1fdc3e19e6011b7b18c57d71ff6f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 220/229] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From c8a3eac1ff4fe7a6b15f7e33d2b8d03a5ac2865d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 221/229] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 2ace8d204f532859589c0cbd17d0f0d5f1f20391 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 222/229] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 48f793f863ded0cffbf5a8a0375928a9b1361291 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 223/229] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 9961ed25ba44c01364731885e7819a44da9eaa82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 224/229] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 11cfb154631718138aef66b0fea15b81d593c959 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 225/229] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From b51afab20a19ccedb6ff25805d4cbae878aa6918 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 226/229] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From b5a4bb653b51fc060ddaaea79f6d9a6f2f7e4d1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 227/229] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From a1c2c5b312e55796fcd2626256f48e37cf42c3c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 228/229] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 4f3687e7e375b8fbd211e1a2e6f38e1f01e58e10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 229/229] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (31 preceding siblings ...)
  2020-08-19  8:15 ` pullmoll
@ 2020-08-19  9:50 ` pullmoll
  2020-08-19 10:08 ` pullmoll
                   ` (20 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-19  9:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 226090 bytes --]

From 90ed3c43d8a2449979e6c7ddfd67c9a0dd708cfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/235] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 67b02c149d1b0d00004a819b3a5dd111790a3730 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/235] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From c0f07991e2289ad7d8210e82c7f2b097001f5aa2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/235] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From caf3410ad56e12acadb4e7ba8e82a19da2887dbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/235] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 15cb5b477d760f287f6eee22c5cdb0af5ce0edc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/235] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From a11f425b3ebeddf2073d791625fdb20215c14e01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/235] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 60215db51f40b42e33bad77f0653aac33c68f7ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/235] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From bfba58073c4fe5ea51269c4b2be9305c5e10ba8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/235] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From ff40004c0459bf7c3322442c94e177f773b9f504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/235] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 2966aeb81a1e5ed532039c216a15a579531d4c50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/235] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index b9136364a05..f00b0c37fe6 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS+=" -latomic"

From 39ece085ec978ab6a419d92edb7db51142f3c25c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/235] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From c180c348f3074b0e98880fa3e8c9745c0e6a9172 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/235] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From f77ef64390810ebd71d3d13273f5b6241ad4bf29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/235] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 845c0d50cc1da0dbc2fd7363815969ea130dedf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/235] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 2d819c02035144d2194a53cac72fe36e72bbf788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/235] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 7a4eead8dd373c42b27a915b6aa969cba4238f23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/235] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 50eea147d64b9992bec32e475b04b9b5a0f84c75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/235] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From ee1adda32d9bd44c42f711bbc86c4e98e398f839 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/235] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6d4be284a5b3cf0b41f59ae98657413395f9b808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/235] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From dbc7901bc5407d05f412efbabf3da39ffefbaf73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/235] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 225524638bc9b2d95e1e6aa9bc9622fe6cb67c0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/235] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 14d5c916e982f5da3852a76bdd205239b3a047ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/235] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 292b48b7c2ab11899f51d557e75e173f44c91867 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/235] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From c2f53b45eb65733cbded49d5cb22089e0d2f2971 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/235] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 125c517df81909a7904e96a4b873406823472a05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/235] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 90b2e72fcca0ae495cfca9f79d54014f7b2ea65a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/235] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 284454397fe5c5ec93781bce2074a891fd11f5f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/235] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 9f39f1dbf0e15a80eda53192e8d0ac79105e7817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/235] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 0111765d552fa2f7499ab1ec4003fdd15e52b996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/235] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From a8181ce406718e1de26358db8be754ba1199db20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/235] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a6eed3277ed9e204cb3d2d0c4bece4787e3ac710 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/235] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From ef0086b33a1c55425b397b7e78a113115277ad40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/235] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From b648b49e0e77e3d63a77963732e0eaaf431ad672 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/235] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 045d99f5df153559169b9851d5f89a9dbb4dbbfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/235] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From f8974915cbfee6c29bba8eb7f7b91b9a3df08653 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/235] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From e681d4451f261d279a0856e033d8bad4ce1dc6f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/235] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 65d2b48a2fd5b6aff7e5cd0569f6b2fa2ba575f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/235] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 0cc71e1cbe0f813015a242b0ff1a57e9a7426674 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/235] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 28997bae3602bc38301d4ccc1d452dbb34c6a8f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/235] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From fd353321f6b9bcea10259f3fa88d76cb96fa499a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/235] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5a6219b76089ef297a58b65cd8f33d40855ed5f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/235] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 0ad6eda04218355a2dbbba751a1cd637ce7a4ca1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/235] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From bd9b4d6fdb2493bb1ea00b908c678c1b33115046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/235] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a77cb2e231943ff09ed77006b0187d6923185c36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/235] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 2de0a3f518c6408e5424000ba2a1e5697879a29a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/235] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 79dbd93b8f00d719b090955a4f950db1c2ae7899 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/235] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 3b41587e3cab2917431fecc558efcc395df0e6a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/235] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 081d1c98d9e6c45ed17c6217559e99cbb8c59ae7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/235] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 8c0bcc815702d4466caeca6daa0643fa11d40e0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/235] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From c5dbc228420baa64ddb07c313dd3ee99392945b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/235] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 81785cc501c3f011ac8a2589de91dfbd9f8b1541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/235] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 304142cdd9e22ac4b0837dccfc12c7c516ae7108 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/235] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 9ebc337f9abba2f415b5afd212f6482de8c6069d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/235] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 927fdfa31972d85a607d3ae2aed0f55724d95c57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/235] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From b4ca749e603de2aad246059c5d75e605b08ad937 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/235] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 7536f92f2d2d0cbcd8138facb79c9e4f58061504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/235] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3bd36b1e7b7b30d3c135b253108152f64bde6a63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/235] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 225389f34cca02af0c6d973b48a800dcac5770c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/235] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 1f9d114a1d2ca21580958de22cde4a8bbf219f69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/235] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From 0f21078bbce25ff0c74fae9f265fdbddafd7af61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/235] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From d8a616b7b4545a1c21cf2ffe558a19190bb66e7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/235] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From f0f1dbcccac66e43992a38b0ec9ddfc5d8202554 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/235] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 299e842c5ba36278ffd8016420177089568d9e28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/235] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From e0938448d6523328af1acdb43e9288eb95229cd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/235] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 9287a361d5b8b4e7f37339bcadadd3f087d47793 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/235] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 9b331b2b00600be7723afbe6fac3c5ee986d51f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/235] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 8755fd67751581a1dcad7b1dc76596b376f542c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/235] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 5dc3958b5975d19f4d0188e274279f18effea6e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/235] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From f38e1d5e3e71d39c1ca4532134a7036088e42cb7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/235] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From b04443ffd0f3d289c3a2f6ab7b0b14b30ea32272 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/235] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 562c79fdc9fddc6afba6e2ca42b7d4fc9d026d0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/235] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From aeeef1a2faedba706326d768dccb023942e178c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/235] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 535430c6e8d132f05c09d37561c068abb6c0ede5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/235] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 1cf27e2666bcbbd272a4ffd7c04759f3a320ce8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 074/235] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From aa5e8c606a9be3eb1c7c53b3b67671dc1a47e769 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 075/235] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 4f9b542e4a50bc51ebc32b669ce85f37eb97be3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 076/235] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 4d6d205e7e2fece45a67fb4511b3ebe554065122 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/235] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 8492079bd76b4e603ec0e10609679e091cfcc27e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/235] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 380b8174f84292d1633b4e11664c9eaff5b6ff6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/235] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From e29aca07f7307ce29f6be37d94ae4602e59cee79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 080/235] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From ada94a9354ce97dc341948eab851b4299c19963c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 081/235] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From d4760646bfe95abecdd5ef1d96b47e6f12dc584a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/235] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From cab438103eac449a1374eeb9e42d97fca474cfcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 083/235] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 1650387154d39f896c864761656272205b7484a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 084/235] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 9eb9b03db561e3c1a4a6df1318f47e920b907c2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/235] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 7621f7f6986b28f9b12c5f3f517124d112aed532 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 086/235] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From e61db847e9c5ba009fb61cf9c7dbb363cb3bcfcf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/235] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 0f1b4133da9d101ace496bfe42a10e46a659d07a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 088/235] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 5b28d06dd9906a29e718d0d2cba4bace0e3882bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 089/235] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 5937619dcf0e3dec7c1717570ba70dab4976de3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 090/235] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From bf2e90d43ad8ca39d991f34161d8c5f938b76d07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/235] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From a6f3c6e85cef763238f174707de9c5679724ec01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/235] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 2dba0f9a838a0ea4549611e8354639bdf20f3fb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 093/235] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 0f72430ab915daa3e9d226970b686a642c32cf4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 094/235] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 1dae5483e0a980aa43cca4f425354ed2fa068bd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 095/235] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From a8f98bde8568c7e2572412deaf508e288c0f041b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/235] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 2ac49ab178a8e4d3ac6b8d5a23c7bfa44b8f6e97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 097/235] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 8ec15f4117aecc0948f9b3725872839420d9f5dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/235] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 346ba519d77ed1488facbd4d28636a025c24e162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/235] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 301ee15cb3663ac88e67b0553b2bf1711107d205 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/235] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 5ff4906a9b15891072b47e14c09d6c8f8a292a44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 101/235] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 7605a6294587ca469df51a65cdaae8a8e8a4e86a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 102/235] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 105808f42b7300357de20f1113bdeae6efaddeb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 103/235] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 98f1eb72a01f48b616479fe8cc67aca79e0403e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/235] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 3a4a2e34eb71c9dbe72d9c059ac8e38ae35bdb33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/235] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From b43eb65daa0dba5748b23a72f965e940b1418008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 106/235] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From ac2b1f2d5ad0c394cf76b741c481acb307e85d7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 107/235] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 96d923624c665454475f036bcd5aa4306cfe6055 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 108/235] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From cf16c505213a721167eb648b73dba1ffe31ed609 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/235] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 3e6ce2553251cc3c8ed6377f366dc69b3e29190d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 110/235] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 88105349376e0f0028fa7115b05882f97891f8d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 111/235] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From b460a80c4d5dd46b2050778ea4596f419d1e7829 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 112/235] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From cb3d2e05b8647a570e96f046233ac0e8ac7976a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/235] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 2bbb6b70f7b10d6ba2c94a50f8dd70136c06431f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 114/235] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 501984e9875b0dd2be4de8ff113b2bfe48938086 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 115/235] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From ff28bb0193fa50ec3194e1abd57e0d14f750c72d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 116/235] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 3c416d0b2aedb6d7d43396473a9022a8e64c6d6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/235] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From cc1f798e3e616e8d3386108ac83299c0cb5d47a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 118/235] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f8509f917c6ab76bf245b3f9abc7fda58a3a3300 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/235] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From ff365bea932066da904b8d0c946fcb101b19023e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 120/235] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 56ce243a3c62995d2f47620fbdac1f2ee8c64880 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 121/235] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b9aea5f57a803a118b1641f383cf6672b2813b39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 122/235] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 7bb2abb185230b3e3fa619a32f2dd2b43a71802d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 123/235] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 3607f1f82d6727583f23bf08d0b046dbc81fe1bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/235] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From aebe947233e82e691ccd3e17867fec5219df9134 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 125/235] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 796bb413cb5d229ed268a48a31e0df7ec00ff4c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 126/235] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 60e57eee8e35a87f03d6f29208178ee1f1c5038d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 127/235] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From b1c08c39cfa885425613d17c839cdecb971ff686 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 128/235] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 268a4d28022a712100dade0c3892a79e80d3fce6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/235] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 62f5960e8ed5cfa7c1def907cc20c6167a946969 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 130/235] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 1e0ea2ff51325c11133be7e95b84c7b7e0789203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 131/235] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From a6300592e487278076e84d35c026d9ecc813b05e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 132/235] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From e18e389f123c02c1da4236701c0145dc6332690d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 133/235] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From a51b820363b0dab3e61b42d59096eaa5c212ce41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 134/235] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From e758b216d7d80e3f3260f628b33521001d1428ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 135/235] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 914cb619d64162db2fb5df5b70e35694b238186f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 136/235] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From da0f1daf6177cbf689f4db8c431a9d26c9cdd072 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 137/235] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From ea48beff8b276e3231546c5b5edae901153af552 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 138/235] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 0a8dec5cca5965f99f676a9c836092b8dad90a2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 139/235] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 6789c7b81c236a7f431d0c917cd75f9718332b38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 140/235] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From e28d86448789ac62570f7f6a9160f42257a21af1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 141/235] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 510c4cee55654b886f2d42c063f2b412dbbcbe6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 142/235] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From db9727ea1e3202616945bc8e68f7c0aed957ae4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 143/235] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From b6c6e10ab5d9ab9fbaa3456871a87c097f841256 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 144/235] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 516ceb80a29c227789915abf3f12a0d96d361668 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 145/235] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 40c2d1ece543f88254e3a88520d0fb1b23c3fc2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 146/235] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From bd7d33c73f58526e2f33b81afac4ac4a8312e41d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 147/235] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From e0b39723fc5a15b6f7c2015c69552855f466482e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 148/235] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From e5dd37cacd71cffe3cf41afaf16d96ebba35e242 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 149/235] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 67a7fdcf5e5c05e9ae5a913211280c198e89faf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 150/235] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From f8ba0e31fb6f5a67669000e4bd56bdfd4e414e4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 151/235] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 6633ab36f5b4e2121bab16b56a9a16ec53564fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 152/235] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From a58226007b79c992ad9f8b84ba880b7e7ff5a3a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 153/235] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 1fbb7daab09b914a361c4224f106ae002f93abff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 154/235] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 30f4ac9037e07a0e054275dd4f1dcc289ce8a6b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 155/235] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 7ffcd57c17a5a7ef0015a71cbeb7586a38a8c565 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 156/235] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 5a06c53775a79803ddf1fb62086afafc7ac8d4c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 157/235] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2985999a4775046e2ed06be3e229a0004a42c1a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 158/235] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 7cbfe1fbb672a4ba7a91509c0697c16c4a58d20a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 159/235] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 062189a30a1fd9b77de674f77ceeee84ca83ff38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 160/235] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 0c59f83bf4fd919afec9434cc0c08c9b044772dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 161/235] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 13cd458664ed17e75e965f8c6f67aef4ab03f190 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 162/235] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From f349a353126a2ca4c7c76e32dde01e831e4857cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 163/235] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 95b7b3328a62700089ba868a3c956bdbccaaa775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 164/235] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 00887664ee07b681d426dccd85a99e0dfc2204e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 165/235] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 1d357efb6f732acbabc90c7f747486bba89f1e8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 166/235] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From bd6dfbde9b16a6bf610a4c0abbf3b1b3ab4aad32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 167/235] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2112a869d451b5e516472f08a60adde757b61763 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 168/235] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9eca1480a6ab96f152619bdd044f27388ce74546 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 169/235] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 33c506744ee62ab64b08e6bd4a248d8d582c1cb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 170/235] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From b5f6df36a0ba640c486cfa0765550ada48c985e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 171/235] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 3950da95e0dde209a3c0ef7a0cf94558bf95ce6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 172/235] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From f74db1efb895d2d2f79dac675c898c4559d7be15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 173/235] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From d30ef01de7137471b114b09ad9d788366ab88ca4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 174/235] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 4421ea35d1ce56c5560f7f299a38232ad922fcd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 175/235] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From e8a19b46d563b8965487311637d40532958853a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 176/235] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 9fd78eee0fbb7ad3464029207abd247d3d6851d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 177/235] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 7179e577bfb2a9df0ebc01a3e943eb4911badeb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 178/235] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 3483453f299604338fda43930311b7291a9b7628 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 179/235] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 5c6789248b4b267c11f8fe77e0f7912d0a9296f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 180/235] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f1e7e6e7a6a86455ba0bb7cfbe54ff8a82cb596b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 181/235] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 6918915a14b244f7d37efb815f39a4337d98a9dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 182/235] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 2dcfc72d6c2acaee333026361c70bcc0de35f847 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 183/235] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 58dfe8cd3b4526905649eea2484338dc79cb215d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 184/235] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 4de44386ac03bfb86f9161ff35ef6c4ef6617b35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 185/235] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 3e894c7222315295f9218f9dc9579962d1c86f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 186/235] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 9faab42021d2adca8af34004f315423cfa90b7c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 187/235] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From e77ce8b245bc8937d06bd1044c30a1f189da4507 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 188/235] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From b7b6085ff016e386e584dd9f8e174c0ad0abc15a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 189/235] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 3a7c2a4411132c23e0c0996da8eb6e59ba7d5f7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 190/235] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 94639b23fbca402f6042295bb2276208f908670c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 191/235] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From ad0adffedac058aa5b2f9fd4cf377ee0be09c41b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 192/235] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 08d32addb128e38952cd7a43c32713ea0cd9e726 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 193/235] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 7049fd1c7f8ba3166e9820b5b5eac38b113ec030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 194/235] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 665f4f5e3cc1ec33cb488b11645b3fdae7b6923d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 195/235] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3576567424f1eaa4effa204c53930dd8051a5abe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 196/235] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From d5cd2870cfba974dfc270c5a106657ad17b49d85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 197/235] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 829830bd246cf4235d5b79bedb651c275780ede8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 198/235] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 2742af9698b8980e1e7fc264c23ff249f26b7c88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 199/235] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 156ad63f55eaf5809f7b4e0aa8d2d0718ae1914e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 200/235] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From a44af7d593fcc53c8d057c1d87b420945774a32b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 201/235] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From eed97c690ffc1d9a67fb486d8d87c35321492557 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 202/235] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From c952d977ad021eabbd6c4b2ea842ce776d0c3dcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 203/235] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From df226fda24e294a80c3080a5815102dca1d520c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 204/235] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From de83b784580b0e7faf1de25fc8050c411f5223ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 205/235] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From e3d51d95ce4ba1d32ff59f0329c0d95e9d4a9d0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 206/235] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 1525e5b6cbeb5b1f637bb1f5e75c0491af4198df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 207/235] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From cb083f3cfc2a8ff83ca22df9bd88c2676930789b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 208/235] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 428d0d39afeb3739249f6b991583c4dfce047469 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 209/235] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From c43f260aacd881dd7f44def9d2e975e819b9759c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 210/235] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 52a20484c37ad6cd3825f94bc55e7b12cb47f052 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 211/235] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From abc4575205ad8269cfc652695b347aba44f483ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 212/235] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 8ce6149c14c37ffac9f70da21e252bc586bc0685 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 213/235] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 7cbfc04b076434ba8b16b21d55a339bcf7581b8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 214/235] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From fab2fe59a5aa3219ac497883483ce30dd0ef46f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 215/235] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From bd6ba36ae339eb7bc52ecd3e2ea08471e972bef5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 216/235] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 29564a58773295df0b463aab9a5a31d0a16a2ae2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 217/235] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From cf69f42ab5b632f398f58f2111186f6009bdb268 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 218/235] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 4b7921e6546d776e4b8119e9be26185245aaf94b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 219/235] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From f3631ab7a668a06d1a5f74f22c4177e9e48ac772 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 220/235] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 794e365dfd06aa6a3ea0416414c1fa61942b0544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 221/235] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 2014fbbbc1dc47ef6f5a0b21e33e7853044dccad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 222/235] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 1b2efea6b0086f0a687b9f47c3043ccf600f3722 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 223/235] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 03b2be2c28dc7239e250854bddd37c20406f3bbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 224/235] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 97dae5f3a5b984b9c6e2123b89b968b159b6fc0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 225/235] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 2029312a5a350d4811208deb59a8d2f8b14beb55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 226/235] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 405cd0f44a1baa2ac2d33d3dea5db8877f5353c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 227/235] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 260e665970e08719ff1c5b4ff17be4c442f351cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 228/235] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 6b74fe721ea262526a58a13900e2b8f49b1c9b63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 229/235] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 7022fc128dfeccbd584c8a258b29dfce9a394a84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 230/235] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 2368878bd0aa944cef1cc6424c659860a3964bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 231/235] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From d1a0611e0279d82855bab217c113bbea82e93f80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 232/235] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From f0e414083da6a910656e09c8f9b4865f60b61395 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 233/235] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From c9a898ae973ecaa4bef1d2ff9aece1066751f117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 234/235] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 9cffad32930cbf8ddb825748746270c32262583d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 235/235] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (32 preceding siblings ...)
  2020-08-19  9:50 ` pullmoll
@ 2020-08-19 10:08 ` pullmoll
  2020-08-19 12:11 ` pullmoll
                   ` (19 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-19 10:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 232425 bytes --]

From 90ed3c43d8a2449979e6c7ddfd67c9a0dd708cfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/242] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 67b02c149d1b0d00004a819b3a5dd111790a3730 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/242] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From c0f07991e2289ad7d8210e82c7f2b097001f5aa2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/242] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From caf3410ad56e12acadb4e7ba8e82a19da2887dbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/242] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 15cb5b477d760f287f6eee22c5cdb0af5ce0edc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/242] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From a11f425b3ebeddf2073d791625fdb20215c14e01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/242] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 60215db51f40b42e33bad77f0653aac33c68f7ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/242] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From bfba58073c4fe5ea51269c4b2be9305c5e10ba8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/242] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From ff40004c0459bf7c3322442c94e177f773b9f504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/242] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 2966aeb81a1e5ed532039c216a15a579531d4c50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/242] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index b9136364a05..f00b0c37fe6 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS+=" -latomic"

From 39ece085ec978ab6a419d92edb7db51142f3c25c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/242] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From c180c348f3074b0e98880fa3e8c9745c0e6a9172 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/242] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From f77ef64390810ebd71d3d13273f5b6241ad4bf29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/242] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 845c0d50cc1da0dbc2fd7363815969ea130dedf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/242] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 2d819c02035144d2194a53cac72fe36e72bbf788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/242] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 7a4eead8dd373c42b27a915b6aa969cba4238f23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/242] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 50eea147d64b9992bec32e475b04b9b5a0f84c75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/242] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From ee1adda32d9bd44c42f711bbc86c4e98e398f839 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/242] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6d4be284a5b3cf0b41f59ae98657413395f9b808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/242] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From dbc7901bc5407d05f412efbabf3da39ffefbaf73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/242] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 225524638bc9b2d95e1e6aa9bc9622fe6cb67c0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/242] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 14d5c916e982f5da3852a76bdd205239b3a047ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/242] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 292b48b7c2ab11899f51d557e75e173f44c91867 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/242] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From c2f53b45eb65733cbded49d5cb22089e0d2f2971 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/242] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 125c517df81909a7904e96a4b873406823472a05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/242] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 90b2e72fcca0ae495cfca9f79d54014f7b2ea65a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/242] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 284454397fe5c5ec93781bce2074a891fd11f5f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/242] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 9f39f1dbf0e15a80eda53192e8d0ac79105e7817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/242] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 0111765d552fa2f7499ab1ec4003fdd15e52b996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/242] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From a8181ce406718e1de26358db8be754ba1199db20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/242] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a6eed3277ed9e204cb3d2d0c4bece4787e3ac710 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/242] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From ef0086b33a1c55425b397b7e78a113115277ad40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/242] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From b648b49e0e77e3d63a77963732e0eaaf431ad672 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/242] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 045d99f5df153559169b9851d5f89a9dbb4dbbfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/242] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From f8974915cbfee6c29bba8eb7f7b91b9a3df08653 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/242] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From e681d4451f261d279a0856e033d8bad4ce1dc6f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/242] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 65d2b48a2fd5b6aff7e5cd0569f6b2fa2ba575f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/242] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 0cc71e1cbe0f813015a242b0ff1a57e9a7426674 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/242] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 28997bae3602bc38301d4ccc1d452dbb34c6a8f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/242] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From fd353321f6b9bcea10259f3fa88d76cb96fa499a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/242] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5a6219b76089ef297a58b65cd8f33d40855ed5f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/242] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 0ad6eda04218355a2dbbba751a1cd637ce7a4ca1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/242] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From bd9b4d6fdb2493bb1ea00b908c678c1b33115046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/242] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From a77cb2e231943ff09ed77006b0187d6923185c36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/242] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 2de0a3f518c6408e5424000ba2a1e5697879a29a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/242] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 79dbd93b8f00d719b090955a4f950db1c2ae7899 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/242] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 3b41587e3cab2917431fecc558efcc395df0e6a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/242] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 081d1c98d9e6c45ed17c6217559e99cbb8c59ae7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/242] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 8c0bcc815702d4466caeca6daa0643fa11d40e0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/242] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From c5dbc228420baa64ddb07c313dd3ee99392945b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/242] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 81785cc501c3f011ac8a2589de91dfbd9f8b1541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/242] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 304142cdd9e22ac4b0837dccfc12c7c516ae7108 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/242] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 9ebc337f9abba2f415b5afd212f6482de8c6069d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/242] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 927fdfa31972d85a607d3ae2aed0f55724d95c57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/242] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From b4ca749e603de2aad246059c5d75e605b08ad937 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/242] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 7536f92f2d2d0cbcd8138facb79c9e4f58061504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/242] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3bd36b1e7b7b30d3c135b253108152f64bde6a63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/242] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 225389f34cca02af0c6d973b48a800dcac5770c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/242] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 1f9d114a1d2ca21580958de22cde4a8bbf219f69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/242] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From 0f21078bbce25ff0c74fae9f265fdbddafd7af61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/242] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From d8a616b7b4545a1c21cf2ffe558a19190bb66e7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/242] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From f0f1dbcccac66e43992a38b0ec9ddfc5d8202554 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/242] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 299e842c5ba36278ffd8016420177089568d9e28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/242] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From e0938448d6523328af1acdb43e9288eb95229cd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/242] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 9287a361d5b8b4e7f37339bcadadd3f087d47793 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/242] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 9b331b2b00600be7723afbe6fac3c5ee986d51f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/242] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 8755fd67751581a1dcad7b1dc76596b376f542c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/242] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 5dc3958b5975d19f4d0188e274279f18effea6e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/242] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From f38e1d5e3e71d39c1ca4532134a7036088e42cb7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/242] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From b04443ffd0f3d289c3a2f6ab7b0b14b30ea32272 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/242] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 562c79fdc9fddc6afba6e2ca42b7d4fc9d026d0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/242] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From aeeef1a2faedba706326d768dccb023942e178c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/242] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 535430c6e8d132f05c09d37561c068abb6c0ede5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/242] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 160ccb2696de4feda6fc75b7d8c8524d9e967ea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/242] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From 697637f0296cbbe4a8de165becad4fcefb047d0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/242] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From a7a97b245d27346e4f9f9762a5053043e1112822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/242] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 3047a7b421b5b5c4bc66b96daca96541d2e910d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/242] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From d75c1baecafa5c7700fca89a3a33ff56e19c9e94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/242] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From eee9080cb191b248bee8e3956cfd537504a8f17e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/242] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 6091ffc2101a6848bb369abd6301634cb1048224 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/242] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5d860e160aa6423fc91e66db41438313298e16b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/242] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 6700c06225432aafd4fd12f0354bc8adfe3e6ae7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/242] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 03a800cc7dddbb35066541e80c7081e68d505be4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/242] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 354389518c6e6ee69d0f5cb4102e8cc148bd5409 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/242] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 978fdc84e6920c35442a8be085cb80caf404df03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/242] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From ce75dd6225c5202fe7f6d7e92683d653dc391f36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/242] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 07bf1181e24c0196b61a5d5dc054128aa74e9b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/242] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 306155a29eca1e7ec68f6c43ad710c8a28ff1740 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/242] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 76651bc2215a6884baa5ac7936e36438b3892b1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/242] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 5807559ea59a1f76b693fca3c0a8c8fa53623d79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/242] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From a665edd12366d621027a6eec45018cdc77b59a8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/242] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 99677eb66b846d60080f7449f03a68f775d16037 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/242] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From e5053c8b499d7363dc9f6f4c1092c77baa1407ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/242] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 898c7e2054545fc67d0dab2fd92018cafba6107a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/242] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 8cc7fa0b566213efa55f09130bf2f1b9096a9dfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/242] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From f7881e81a33998e92406339822cfe6d99a4af746 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/242] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 7c599193e6fcafe0fcca13ec46176d61f5c57e61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/242] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 5e87a24a79524471f94dcc5bc518a5b3801d1a49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/242] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From d6f31a6d89bc75486eac5fff8f22598024067454 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/242] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From b28aa6dfbb11a9ebbb16a5deade86a542ee31b6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/242] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 834381c3fd81770ddeec3e5345eda7d5befee1df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/242] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 0a63e43b4245a7211b55168bd3be8c00d311941d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/242] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 189a68c7a0f7c86121f808aaef15fc850c2864ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/242] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 888db405682ffc30315b05ac35a93c585a7cd7ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/242] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 1b0641b370832ab5a1100567053bc188952f1d70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/242] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 5d6af39d7f538c7662d1230fd48f3e2e0195ddc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/242] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From c436bbdb7518db0e453d0134f380434c6dce1c5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/242] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 08e8231195eef152023881d70377b1d1cd1eb4c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/242] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From c2cebfd7da53e678ca537b67bbb96a0439dcdc71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/242] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 7ebfac4e513bfe28bdf551519f677e1e7e146871 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/242] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 562b8301ab1ac2d8ce9bc1d80b057dcd83a1990d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/242] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From e126a806b78a610a5c30d105c1b8cde9457a39a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/242] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 74fdf7e8096fab23294e47908b4a1eb1392ef545 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/242] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 5f3c70506c00026fc277a87f46bbbc4e5782f4f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/242] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From e449b7303f213a29595e785eded2932128f5adf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/242] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 565177a7a269ca57b581e17e85c7e1004d56ec95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/242] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From fe8eb92e1d4ddc7aeb2f7c03c461da3bd5bb557c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/242] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From b160289a6b2af0cb4340c925bb62e9ac199de879 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 118/242] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 1fa3922432ac57cc336dd339a823eddb3436fc40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 119/242] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From e23b8e9ec01f9ed4d572a8b8d319f75a8ecc62ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 120/242] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 483b9b19e9cba8d28d49763f533f89c135a15a8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/242] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From c587ce9ffd956bc4476465a1ac3bb2a66ca2ce9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/242] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 46a06acd2ea1df16dd120571138b332fbeed2496 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 123/242] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From b2e9fee107db5cf75d655763fb1fcaeb47d4e530 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/242] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 7f60865b9de44ea770cb928f23f65fe61e768432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/242] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 2e76e5596bfb98e2d3e6ec4200e6331232fda82b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/242] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 468317f342576a25fe7519ec94b0b78c43f9fd46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/242] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 1588170564e68769e0623221b31dbd0fedad2ad8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 128/242] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 53fe9af13e30d3081c79f8ee7ffcc5b168eca5d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 129/242] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 491e261eb78..fea0462ba6b 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr all
 }

From c6b2e5b608b8c4622c4851949d7496ae46642b40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 130/242] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 66c51df985b3ac2da6080bb703d483715ed34686 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/242] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 473142a254e8341d052d7bdaf1731e31b7b80198 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/242] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From af1670b4dc5a88d750ef94f74fc810dd3ba408cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/242] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 1dbf0e8b0d9739c3bae0732aebeb22a6a232eccb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 134/242] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From 1e991d0c173190f32d86968612dc3571418fc3e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 135/242] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From c1242cd7cc33478c972c141a29bfa450b9287441 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/242] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 296eb605927bc561f590d570f1029ccbc18cf508 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/242] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 79c18fe6c56d11f8b445d790d72f4504112c1113 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/242] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From a003ca37e938dc87298cb708141a55a2840d2d84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/242] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 083e6fafc6b7e50204d2e458cdab72be83f74c48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/242] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 00e3fb573e198a8a882f45f14d9b62cf093b794a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 141/242] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 7c56026357e543f50cb11cdeccd80c435089509b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/242] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 039386e2ac294dbbab2f537b3575b0fd2486c050 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/242] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From b45f81d47d5ca476ed9ea8a19807a7985a3ba326 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/242] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 0628419f7165e03ada495b8f09aecde65e94a67e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/242] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From fe8024fbe344d192e871b3ef46e96ed9d98c1987 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/242] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 2f0387e22640986164d3729be8572bed126c7b23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 147/242] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From bee3f67689aceb976a5efd0cd049e0ecf6677efe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/242] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 8b9d0aadd2ab95e3bba077cde60ead5ccadf1441 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 149/242] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 9b615b8731d7e5a65e80e8c2a895b62489ced7d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 150/242] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 4e13a43f79ada1aa90da7b76991a1e2806d174ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/242] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From efd9707b7b24f7fcfc0c3de0758586327d7e78a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 152/242] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From db45047ab855ce9c0d8d28bef1e4a463f25a3af6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 153/242] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 9288d12a37c41446a2ed3fbadede3ebab62a590e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 154/242] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From a9cf924811d73b9017c42a0914587e9216193563 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 155/242] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8265fc318be77924b0002196dd31e40c87eb5d71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 156/242] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 88e924d8e044503a56f03ce1e2da1f78db7deff0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/242] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From c9f02c5d161a3c5d15025b3d106d67d420b43d7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 158/242] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 2a65d1e10bbbfe72f9d5f470c46308d321c264e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 159/242] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From a723ba88f342eb3757d806072a05a35c7679f261 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 160/242] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 47b929f8678e658c5a39cee372b4c4935743a2ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 161/242] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 6072aa87af4fcde68a041461b68ddeeb72003797 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 162/242] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 9f805376bbc2424fdb78ca3b010e0b4cc305f589 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 163/242] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 2ebe22558a0483f1a8a9608ea9c62f3221b0e094 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 164/242] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From acf423eae4f55607387765b4bfa4965387d86108 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/242] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 0147bf20607fb30fd444c7e061f178dff4c0238e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/242] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 128db3be379c1f67c7cea17eefa2515518674383 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/242] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From ea7f03d872eff8147e51332aaba6b938522515fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/242] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From f14fb443fea54257b0a69db01a1573f3552d7252 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 169/242] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 50efe92af1a42c2f43b0f4a4dd9f7d6ccc983a2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 170/242] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 9ab3cef351437f61606e964310ed3aeb288d6e04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/242] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 942b555d8581c5a30c0974b264539fea13f8aec1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/242] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 17a4fa3eca74f9c05a4e19723106088167133033 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/242] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From a70fd2a7f309c31afc6f66591077dbc22aed3d36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/242] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9fe4e7f6b2a6079f94ea8cd48b3038c2f71e27fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 175/242] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 2388af193b62077fb4e439add99d99b14f529fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/242] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 56a9c77462da0de11f66245bcba0c9611161377b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/242] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From d6c0accff8c0e8d1de8fbfa593b0216b203a6b93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/242] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 264d8232c1e56f6204922c58b9847fd6271d4da8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/242] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From e816a648a9e33b82a1c97db6197f4b380599c472 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/242] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 215e762c0f43785af7c8f5a3d9a8311a098f74f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 181/242] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 1503e4b8def9c15f4998b8896545ceb05055b602 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 182/242] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From ea31f0f3e1530a15ed4abaa998c4c7f2cfa47cd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 183/242] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From e5239fe0f5a357dc88d06396f4f1bb2d2d5af0c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/242] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From e48df4c87314645a4bee838ca50a561d0a32da9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/242] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 8f901b7d5cd70de43bc00b012c06c43b8b3bf6d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 186/242] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 57ae5e177ef98aa39b26927da2e39d5b1a03a6e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 187/242] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 069c1a31de5135acfb7c203f159b85f5b1c55bc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 188/242] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 9887108e71651bcf59173b0340784535af3ec743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 189/242] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 9134346ab912bb0d956195c78dadab8bd28e0a53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/242] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 27b6f618debf420d7e4178c4e8244b3f48f5fd55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 191/242] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 52179e578f7f0a0b8c787c4334d5ed6502ce8912 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 192/242] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 3dac1874110d791c5f264bd725d2f5193fa8937e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 193/242] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 16cfbfd2a1d6db40ddf3f802106089a742a8181f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 194/242] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 171cde01da3bf6c3379fcadb465e5edef1748446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 195/242] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 0d0591b956c30d896f073190282a34d4e583d4eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 196/242] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From a83e762327dd434807452e57b872029a0aa81e38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 197/242] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 202fdb84d54c7d2a181de6fd3b7ba5a28ae89360 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 198/242] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 6261cc894b8373daf685de1388b7342b4766c988 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 199/242] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 42dc591d06dc5eacb07c6d9f4711a0c875085407 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 200/242] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From f86492133d09ec11c4e6bf04529eb62f14cab4bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 201/242] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From ef263ff768b297724ba4cfd77994302ed997995a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/242] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8a3d91a8ec170026723f86f62b052a58bbbd8fbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 203/242] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 66d8b8d92c0e5708dd420bb44c867c9e2d8b3ca2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 204/242] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 576c2b2dde4362f89bd029ec952612baf574ed82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 205/242] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From d6f7c17a415942b0aec9e83d878b35a2fc3abdfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 206/242] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From bbc22fee6f052815055fbb40e6b9a205135adb0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 207/242] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 6e56e91f0a4ff2059b781d0a7f4bd1aec8fed733 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 208/242] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 2a46fa0d20a40d948da7cc229f34416ba5299fdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 209/242] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 5f7a1283b21ae929fad1cd2e57b801fcd0a7a52a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 210/242] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 565671761b6cdf91bb556a849eb5242c24769e7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 211/242] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From c07e287cedbb31a336d0e7a96e46548f53defca8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 212/242] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From b379b7fb86092269c2b924867625bb51d3c9d8f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 213/242] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 4f0b0d13299487454cbef5c451c57575633e4d80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 214/242] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 008b44c3aa22e2569192d11cb15fcd459d657d01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 215/242] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From acb88acf33699575706e6fca81dfa2142a808d5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 216/242] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cd7326081baf79f04e0944b38cdfe7e0f90a9a51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 217/242] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 7a3d78426092197ce4746c6c2a9895f42c1b3968 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 218/242] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From be07c13cb16f19eaa1001078547479d3ed537599 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 219/242] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 21526df15aaa905b26f6714f143dbacc09b559e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 220/242] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 9a7878cf5a90d302e80655f7f28c846c34313a41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 221/242] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 6617f2ad98a59490b4be7887a1e77babefc4b4e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 222/242] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 42a381d15cd5c834b7b8a661b2ca3539a60d3501 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 223/242] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From a28d78399a3b814640c9c72abe10cf253440f50d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 224/242] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 6b35f80527d61d3f3d9302058f0a7e740aa6a8fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 225/242] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From f9a397ca3d803b93540483eff2355866edda323b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 226/242] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 2348801cc366c450b617489e72df62d485995759 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 227/242] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From fb5f6f881f1935e67fa8ae63c877724455897b21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 228/242] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From a27d3ad2536ab83e835a9da0d311815cb0711034 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 229/242] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 9de22decc7a5e2834766748edfd654ec2680e9c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 230/242] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From fe69b57f061a9568e98971369f0c3e5844bcddd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 231/242] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 220581f7037aaa2159a1ab831b34f236974ce030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 232/242] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 73d86981de18e030868c2e6110c1d5ce9fde8016 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 233/242] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 9119e48eea55e10637fc0b358faf24cd0b823efb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 234/242] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From c74b19054c66171f0baa18752938ef694a919a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 235/242] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 09915bf7e173d21ed87b15f0a65af0f4ecb5810c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 236/242] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 4225d0529625131937523095c43548cf73fc0cfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 237/242] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From fb00361cc5a7887872172ee82624cbbde7485cad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 238/242] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From b2c73560c4ea25cc469c3e8b14ac7c527d129941 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 239/242] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 8e1dc6e52370785667bc685bd4cb65f9b06b6a65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 240/242] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From d86732f3acc06a33a147bd070d199c2a132e0e54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 241/242] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 2c6d4f3f20a9a6103a420903a4079e2979298ae6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 242/242] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (33 preceding siblings ...)
  2020-08-19 10:08 ` pullmoll
@ 2020-08-19 12:11 ` pullmoll
  2020-08-19 12:27 ` pullmoll
                   ` (18 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-19 12:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 235064 bytes --]

From e92f7e69aba8791d394f00f2497a446df95f9fda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/245] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From f0d54310c7f845c45c66c04d1c40b3140b4ff305 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/245] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 9061958c19733e0d5b678b17ac78a15dfb327dc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/245] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 3cd56ff60fd4aec4153b8d9acc5b4d71b17ec19e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/245] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 15db24087837e1e66617792d97b3b8ede7bdd267 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/245] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 7a001c94ff2a7d0813ba948261142e1945712017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/245] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 2012accf53587813221879ba7e44d6f670fde350 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/245] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From e9444e28a4b90d7848c8af6dca32485937dba5e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/245] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From f481cbd5b7a7b2ed4492d6a355a542dba373c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/245] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 50421262997c55ca8270ea4a4152936d0595d40a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/245] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index b9136364a05..f00b0c37fe6 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS+=" -latomic"

From 3ba9424085732f312aadf7b3237d9dcf950f38f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/245] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 74f09e8bfc1525d779e1b1b46832c1ca470b7008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/245] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From c5a3e37c6089ec9fca808cc1502a621f4e1cde3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/245] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 9c765f7382a0818a2680f8244f8954186eabcb71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/245] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 133803f59f2bb82dd4525dd4b74feacced2e0cbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/245] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From a56f791969989ac444115caea08a4a12ee121efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/245] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From dc3ec61df8f65ba222cbcad63843cd38611f1939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/245] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 60ccebabada0a00ebd3e70441833d4854f5f9afc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/245] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3f7d54bf2933fc3e2fe67de1af0f705f67a389bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/245] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From a4d2d0d19a15d12a04850662b2ad381cdac0c024 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/245] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 101397360231bdeb10953ff50e9e4d209e35059c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/245] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b2fcbd79ebb3c18373f5b5aa941a231cc693ad34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/245] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From d486cf4abccf33c0f8f5c549b8eb42dd6b80b8f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/245] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 2254b1f6562b8fb013aa6b26ca4d029a6f15ddf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/245] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b0fae88a4e0f4b8559e591638ececdedef73391d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/245] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 193b691aebd7965c9ab05d84795f0bc45b359cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/245] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4f08fe9ca8238795a279a2ce83f1d17638f83d85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/245] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 059c9d5bbcf255fe58e98fb43b1ba1917b373c93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/245] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7d4603376bcfcd2916c3f9ff1a161f289522e287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/245] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 66bf9e018a1188fc2444c4f336f305046a525aa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/245] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a90388ae8c1fb9610b31827fec2d3b4b98cf7ce9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/245] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 3c07eab73c6c6601ae8185f7ac945e4e7e5c827f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/245] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From 5856a709e3701130d44caf4ef09cf8e7a8476cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/245] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 7f23562c7c712d8a709a2f591064b6c39d9c9e82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/245] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5e62045cc029ca86a85fd2db63c5408fd1aaf842 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/245] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 56ba784d8658fa44601c161667e2ca2e35a0b315 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/245] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3a8c82b5ed01d648b1ee7139aac248d11b390d27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/245] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From ce426fa893bc3d5df34a5c065299cc710977450c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/245] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 1c15fdec14d7fa356c76e7e4e3d1ec205bd91ba7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/245] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 6521de607cf2950be6670d56bcd9b9e7d29e186a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/245] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a5f1f1414c887b9c9b85a6bfa52c326e48ea3158 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/245] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From f617f9f2c7682453c1cc847e8b73bd6415ee4ef4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/245] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 799219e39599d9f22048285b410c0dce419447cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/245] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 3b605e4bcb7edf4ca7b17e17972506df19613e96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/245] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From ea37a9f397d43ce331bf0d207f9251614f2bb495 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/245] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f821c1fa87102bfe37b9417bfe6454f01c5f60f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/245] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From d2420a25609f1c18ca4a0ef304ea9ed3b7c9fab5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/245] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 39f3f9bcf00b2c99e6c9b1521bb5830536e44b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/245] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 02aa9e16ccc5127b8aa7a49b29ff4d36d545e2db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/245] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From a0e75b702ddc66092b96007e1bb054fd0d366e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/245] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 9772d2efbc8ab3a0216b0dc81bc49f9132518def Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/245] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From dc1d07c76ca421cfa68998f1a18c1233ec2189e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/245] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From f43b82251a10be0536bdcb10a1901a0f91fb4c2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/245] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From a7e6a2b48b27c057167e03088550b397524ab85b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/245] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From c491c1359c921208c7c843a36d50eb5f626ef59d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/245] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5c5a0b18bc2b565d345da8718c6a46c21d189417 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/245] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ebb10949c22a5644b08ae115ca5b6852a6b3814f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/245] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From ca44e54348affb0392c54de57a6e1121abb977ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/245] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 097fa305152c14f68b33a2427c1cbd14f31bacfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/245] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From bdfcef8add2df3ee6b8bab9f9c64d0d7f3c88812 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/245] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From a840e9246dfa859211d96b44523daf6cf6296f73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/245] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 416c5a2430367546b212f01e8d3b134835cfdec2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/245] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 578422f770471900c8d76a46ffcb478392b34358 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/245] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 57dc78c916f5c33e48d601943129758eef56b363 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/245] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 8d084568e2d5c70322a676031550fcd861dc9e00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/245] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1cd65fd7977e1df5cfc1b0423fc311ef3d50ac24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/245] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 4c91a72dc62d6cd2e2bc1ed61b40ef63de451b9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/245] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c92ee522f899a4591680bac8eba87abbe504d120 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/245] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 8eb5e689b1365d7f35f5d025cd697bad768feea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/245] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 1c10c07b662149d489603fc453c530431c36df05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/245] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 77431c09f5bfbec8c1a3340b2d62bb86f48bc63f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/245] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 9cd4a445d1ebdb3fc05f54c1c19f795b9d8e35e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/245] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 2869a6797652d17b7cc883cbf73bb4ba42a86ffc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/245] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From a258f26bcf4efe41ec3068645084d7ba1b810878 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/245] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From 124b025d79e1bc5892dd1638eef512d629cd6fd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/245] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From bcd95bdace11b6ea767d3166b47971a2c534d23b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/245] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 199beb67225bc2cf96d54f303f840bd939af2be1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/245] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From b5565dc66d7e75bae23328522996e473a3502dc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/245] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 483af6951d19194e28f20878e96d77831a4af704 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/245] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 025f177a57e1b9e71ff51b07aae21e2b4b52d910 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/245] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9e95d2989c3b12a6c9f94b449e4670a1d41911ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/245] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From aaaa24022d9acb4af248d252276c7aecf6c8d771 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/245] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 772037bdd3bfda7ac84ade78e21a77cc1f004f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/245] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 9b2d6eac4558c48599bc2dd54c22701add51a8eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/245] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From eee333c58cbee44a4420c1c7a256b4a20193035b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/245] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From a5a640e6df83087f994480188c1aa8e26629309f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/245] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From f1eb62ca51a30cc26f490f63c56111ca18b3aefb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/245] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 4ff59a8989161cd93c21d877ba913329e02bd312 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/245] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From b7be33bc6ae95c6ed8bb7e29629645a64791df3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/245] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bea4d6caa47005afde38e6f8a7ea35715bb3e1c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/245] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From b4398bdeb7bbd2f193f24f551104a20aff289b54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/245] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 589065e6e2e3e0b14aa0532044bb410e000f12c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/245] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 27be21433b8dffe6c458c71417885f3cd37a5817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/245] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 007524659ce121ea6a5676c36db6ed818ed05319 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/245] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 891056b35206a2a10179672a6a71598fa882bdb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/245] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6719fac8e66951631542028e5d7f1b7d91d8ff80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/245] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 4cf635c1f9c015a1f9bd824891440bd585fa40c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/245] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 10efae469f598a8166b23456c47ce8563363f0ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/245] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From aa0641295044413cf8af8d2550a2aaca292e6332 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/245] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From e692ad34f5e45bf489a4276e5c0244739fa8c758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/245] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 4ba5387a527a27a89f5bbd3e70eed64def122fc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/245] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From a6e41134574f52533b51d8df0ee55d7896097d73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/245] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From f0dd343be5d2650c736cee8ec390b67c8d53ad1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/245] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From aa7081a2b9bba90bc3975f5560d781c4e2a40a8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/245] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From a163b74827dd4dbc37e3706b4c353e99a4d2df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/245] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 72279f8430e4cba0b3b6d90303115b9b952cec27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/245] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 15dcedbcfe8aa892cd0f2544f065d77cf94108b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/245] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 3ecea0866c1b2c9e56c2b5d5c7a70bec2f4b1ffd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/245] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From ba272ce7e284efcaae60a267ee34f01a7e32d254 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/245] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 094b98fafeef17ccef59f2f28c552cd862ea5690 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/245] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From d27a1457af40366e3f4ab9ec51b9dd22982b2e24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/245] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 45b830c70f7fe4e2aeeb20b78c11872833b40920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/245] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 31c2fc42e62126cd457b314d9a17eabb02d978b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/245] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 6e273238e100e77701e1e6771a2f7f45ff479537 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/245] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From de4889691c39b19858a369c9066251ac629d7a78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/245] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 709cbe0525b3f0534a29e0c228539e2154440179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/245] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 00fc0d5e2699473dfbe011f2f10fdd04dcbdcbf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/245] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 2c5a680a2b8c4b7bab7259cb59d690ea91e18098 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 118/245] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From e6c7574f30f21c9480176caf8000bce42a0190f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 119/245] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 087d3577c31fefbce8cbb079364290a24e459a8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 120/245] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 225b744c44440ac4cbdea488e4d48e09f532f2bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/245] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1efed475a272646a5a44fbf69f138b4d08fb8820 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/245] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 73d618c13acc8012d06386f5b6c07c0488da2ea4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 123/245] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 846bbd54a76ea28979bd21801ea86d00aac84ca5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/245] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 91c1df2317f54c72e9ededc3f83a2708f2885157 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/245] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From b606888110cb6d8fc896d16f8b3f2699409460eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/245] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From aa2474c81e46ca07f627c09498e0ae7187eb379f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/245] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 5d60b9f9776c4eb0013836b91e7668f5f5c916fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 128/245] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From c1e98fff54c37a5531ddaedc2134bd318cbab348 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 129/245] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 491e261eb78..fea0462ba6b 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr all
 }

From 14451db38acaeff5887028363854a82770e3b5b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 130/245] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From fb80f3a115dab2ce16336a4628d5171109a6d5c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/245] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From be92e561d61e235db5ad446ab3056bf8064ab48a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/245] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 700dbf20d0ea7aa07777bc796656e7a080d64e12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/245] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From c3232ac14c2dd824be33a82d8524f8eb41bc6348 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 134/245] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From 7842d2365cda9b186ec1bf735ea524f22a932c36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 135/245] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From e65bcdd0979072b2bc207f84bd14d07f947163f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/245] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From b60125502a3a76f65c2ff0707442f4b4037c441a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/245] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From b863b682ed346ab68c367830fcf3af9003901dc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/245] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 2d73cdd502b5e2b029c651a8fb405eb691d0d43a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/245] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 01fd6e56e4dfc9b7b947130b1f573e13080a6329 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/245] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 8aea3388f1ff162301c8b8e52d6eb4048ead0c04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 141/245] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 4a71b6512263723eca220ef9a6ceba0814985ca8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/245] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 290b0e4f9cc136f0d7871de490cfbd4581d6c15f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/245] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 774b55e3a7695b5a3a8813fe4ec5752d618b3caa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/245] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 813427b50828d1f9c37ccdae342beaaf53e2f3b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/245] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 40490d132d61adf7dee985ddc1546a8406ae388e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/245] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From e8a3f32d811cc69a4d8a64fc9ed1c5d7d498628d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 147/245] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 5075b3e2f9ff041fc1b50bb70ce1a1e04c3ee241 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/245] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 6662065abc88e9a23a8a86daba7449e95e8c5a76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 149/245] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 45380d98e7c953b7f1218197f97bf77084eba7d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 150/245] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 0ebac6f36960c31aea5c10fdfe04e7e5d2000cf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/245] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 53363855e4596c3f0591491732a01a4cd8fbefe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 152/245] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 7f7a190d5a6683640ca92f58423dac7396e3c470 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 153/245] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From e5e8591a97c3880876da849786b50cb14b317e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 154/245] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 61580d420a10b54f12178199d57cfc84e1788e35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 155/245] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 89adb748c6d144623e48d22f830eb53820495321 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 156/245] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From bcf93cee67cf774003f7825542f1d8ad82548b20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/245] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 5e1bea6505b8dd0bb39cd574fa1f78abe7dec0b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 158/245] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 39d0569177829d34d95e4796c6ce990cac7dc573 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 159/245] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From d9594a6ca0784b2e0d4ce2323193ed13b04a73ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 160/245] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From b32051c3e801acffa6465789f020915b7878a8d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 161/245] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 54a2a3a1c275cdde3ba7a53f698f62b4e44ec8e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 162/245] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 7c3abf844704809efa7723e63a086fe1517a01f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 163/245] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 740982f0b1b23a1449df65ae2a9c99b4e735f68f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 164/245] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b44098ae0d1cf93a54e041348e3a5a21e2eebdb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/245] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 81ef8b3284d5087f38cd4a370242c9b8d6cbcfe7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/245] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 4ed50742664f6143a32ce426b7b2b8057b8ec2b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/245] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 7ca5f6790aace673b584e2db2052a1c1e1f4c322 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/245] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From e2391a08fd76a2fbd8991672a5442404383d046a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 169/245] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From ca0744b60505b52b8b0906a0b5ac4d372d82ced3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 170/245] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From aed439dbee5b7dfd8cca5d7bb6393598de1ee354 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/245] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 1eaf9cc27132ae622893ed5c362eb6dfe603b0ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/245] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 54deebf33d2c67803b787e50a4aa1cd4adb10e3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/245] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From b5ad3bf68819e2752699dfbdbe1a5b4d32281e84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/245] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b19691d7aebe70b5c5c56a006d5048b5ecaea5d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 175/245] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a450a809d830553b03c908d1bdb8a7c328e0774 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/245] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 21456b67ced49c0d1a89048e27b7ad3a5aa74110 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/245] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 75c8202f3649127142c03978bdb8d1782fa71e17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/245] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9b909c7400ceb1c1ca631487ae7d080d78a5c3d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/245] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From aefbc1efd1c0d07b05a56dc7da0e6b127d6ec246 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/245] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From cc67fc07917fd2662f97271631c7ba6d2c48e95a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 181/245] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From a9d55404c87402fa17306e6839a9dba75a0220dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 182/245] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From e89eaf0f3d5a35832d8685192647df44c3e5c4dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 183/245] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 2b18bbed9ba23cd4a5f19bdb4d0c71dcb3a04f49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/245] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 146c43660fc9324eb078e8a1291c5620bdf456a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/245] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From c7fc420a67b5a739494b265c90b545949a67b213 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/245] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From f5310dae5d19c9dc0db433d9ee75a2b56b503972 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 187/245] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From af829a02537c807ccea30c36d064e9a4ec1efc95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/245] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 04cddd6cf0629cf113c4a5ab27ee83028a9e70c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 189/245] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 988d511e29cd26715553c8320cc34cf4cbfb580c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/245] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From cc744066e9c1878dece13da803e79fe2f73d3f41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/245] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 7e8d0a55b282e29b31679aa3d4dd4f783071fe73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/245] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c4cf6e39f0e34df9036887c71dfb457f3b581059 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 193/245] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From d014137fbcd6401930114a66005720925c9602e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 194/245] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 3a76eb080216688cb0acba8e4964562c6fd7bc58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/245] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 8ae4b7f86194aa43131e6e25cacac16569e30621 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 196/245] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 7e10e437fc163aedee7a10b7e669bc6b184cb30b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 197/245] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 8c3bbb4a0b205ee2871380288f48e1ef04f4f7ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 198/245] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 0fa3ecc07166a51362ef8782c688d429c82b744c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 199/245] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From d175c103258e1197068ffb68a887d5c52330afdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/245] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 44229f2fde9b73e3153f288d13f00e7d7eb0e332 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 201/245] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From e24c30bacc516451053aac61dc426b7ec80070cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/245] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 9524003e76baaf4e1c53e5dbd68995ef92706cf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/245] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From dba6068d88fbb8f9445d3d93aafd87aad3988395 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/245] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 46c9699932fc56d24ec750c6194f8da42457a3fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/245] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 4940b8c6195bf610904ee4d743cdaa8f80f93603 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 206/245] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From b44e2562283094de3a84674c31ed754635e275d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/245] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From b558bd963fe8ba6f108d32758bce51430ff59e0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 208/245] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 8cd51acb3e351f452b405678fb77e040c3326a21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 209/245] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 91f41ee330c20c4b139851493479d9e16307f3e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 210/245] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From f504c38b28ffc6ae74bc38118b4678d4b987dd05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/245] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 0d4a613b069cda88897802b78e356dac7409225e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 212/245] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From c17aa98b82c68480dec6733a9fec82b4bad74b39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 213/245] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From d6bf3829704a1f980d65aee1e80b162382a47df9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/245] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From fa703d920538eecc246e7a0d851edac43f9919a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/245] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 97f7e4809af705a00b92c3479784f578fbcc612c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 216/245] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 3a7f126e138f6292b917ec462e3afe26780f55f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 217/245] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 5c3c6bff2bc57b6d6f610e431a5c0e0f7dad8b58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 218/245] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From b22df8c207342f0ab3c517b797da7696ade6794c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 219/245] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 0dcb8222fafa723fb7eb2fb7c6e8fbd20c108916 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 220/245] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 474fd1aa4be3457951fa98ed4a8ecbfe656f76e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 221/245] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 176013beb6acfca9d3d4408077032b5545197c61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 222/245] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 2636848a72e869d315b15b62d519209fe1b39af3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 223/245] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 124d0630a5752ed5b5f6ad2946f9c35261844e17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 224/245] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 1c75e86d7a5849daa50cb3adcba7bc4112947303 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 225/245] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From b7a0da9c0011fee675b72f0e90427841a73db639 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 226/245] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 33495a8db663095a0c2a565f7209cfc1bd3d457a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 227/245] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From d416a991159faf548645456f1ba93d6d134120f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 228/245] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c7526c2721a92844cf7a5e5000c4f355071485b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 229/245] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 1fdaba7b1816556c7748f765068b9fa02ebcb73b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 230/245] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From f81f753751c2c5c75d651d9594367d5b7ba39825 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 231/245] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From d85b486303d19f2f83794158dc15298593983630 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 232/245] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 5f6a76769b3ecde73f4bda3df7c7ba5cb8554087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 233/245] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2c669d6535c0ee55422d845d4f04e169ef6f6dea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 234/245] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 044a75e7cf12592c26f16870ab7bf40cd975baad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 235/245] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 0c195f61488db98b247142998d3dcc85a7d0eefb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 236/245] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fc162373bad428bf8b0a71e8b22515883ae7c197 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 237/245] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 357e5343fe06bd39059153f65716516fdf9b7132 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 238/245] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 21015f5193fc134357d56ef37179709780291fcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 239/245] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 5a345af0e000ae109dc0c5f2144afe91945b3437 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 240/245] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 58a3c398ca535b71ba50a3fb347fb4d74650e253 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 241/245] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 2e72375962dc90cc8460a75b10e49015da0e77b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 242/245] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From f00931ae90e53fc2e89581fa7f76c99a56975df0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 243/245] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 1b5306e3bb5164cf5f082ccc164f86f28ecf4a83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 244/245] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From bfe34655a5a3e9b2486d3dab9656a34c462a1973 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 245/245] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (34 preceding siblings ...)
  2020-08-19 12:11 ` pullmoll
@ 2020-08-19 12:27 ` pullmoll
  2020-08-19 15:13 ` pullmoll
                   ` (17 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-19 12:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 240739 bytes --]

From e92f7e69aba8791d394f00f2497a446df95f9fda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/251] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From f0d54310c7f845c45c66c04d1c40b3140b4ff305 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/251] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 9061958c19733e0d5b678b17ac78a15dfb327dc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/251] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 3cd56ff60fd4aec4153b8d9acc5b4d71b17ec19e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/251] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 15db24087837e1e66617792d97b3b8ede7bdd267 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/251] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 7a001c94ff2a7d0813ba948261142e1945712017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/251] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 2012accf53587813221879ba7e44d6f670fde350 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/251] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From e9444e28a4b90d7848c8af6dca32485937dba5e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/251] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From f481cbd5b7a7b2ed4492d6a355a542dba373c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/251] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 50421262997c55ca8270ea4a4152936d0595d40a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/251] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index b9136364a05..f00b0c37fe6 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS+=" -latomic"

From 3ba9424085732f312aadf7b3237d9dcf950f38f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/251] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 74f09e8bfc1525d779e1b1b46832c1ca470b7008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/251] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From c5a3e37c6089ec9fca808cc1502a621f4e1cde3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/251] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 9c765f7382a0818a2680f8244f8954186eabcb71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/251] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 133803f59f2bb82dd4525dd4b74feacced2e0cbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/251] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From a56f791969989ac444115caea08a4a12ee121efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/251] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From dc3ec61df8f65ba222cbcad63843cd38611f1939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/251] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 60ccebabada0a00ebd3e70441833d4854f5f9afc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/251] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3f7d54bf2933fc3e2fe67de1af0f705f67a389bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/251] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From a4d2d0d19a15d12a04850662b2ad381cdac0c024 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/251] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 101397360231bdeb10953ff50e9e4d209e35059c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/251] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b2fcbd79ebb3c18373f5b5aa941a231cc693ad34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/251] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From d486cf4abccf33c0f8f5c549b8eb42dd6b80b8f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/251] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 2254b1f6562b8fb013aa6b26ca4d029a6f15ddf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/251] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b0fae88a4e0f4b8559e591638ececdedef73391d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/251] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 193b691aebd7965c9ab05d84795f0bc45b359cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/251] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4f08fe9ca8238795a279a2ce83f1d17638f83d85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/251] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 059c9d5bbcf255fe58e98fb43b1ba1917b373c93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/251] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7d4603376bcfcd2916c3f9ff1a161f289522e287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/251] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 66bf9e018a1188fc2444c4f336f305046a525aa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/251] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a90388ae8c1fb9610b31827fec2d3b4b98cf7ce9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/251] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 3c07eab73c6c6601ae8185f7ac945e4e7e5c827f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/251] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From 5856a709e3701130d44caf4ef09cf8e7a8476cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/251] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 7f23562c7c712d8a709a2f591064b6c39d9c9e82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/251] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5e62045cc029ca86a85fd2db63c5408fd1aaf842 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/251] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 56ba784d8658fa44601c161667e2ca2e35a0b315 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/251] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3a8c82b5ed01d648b1ee7139aac248d11b390d27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/251] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From ce426fa893bc3d5df34a5c065299cc710977450c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/251] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 1c15fdec14d7fa356c76e7e4e3d1ec205bd91ba7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/251] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 6521de607cf2950be6670d56bcd9b9e7d29e186a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/251] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a5f1f1414c887b9c9b85a6bfa52c326e48ea3158 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/251] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From f617f9f2c7682453c1cc847e8b73bd6415ee4ef4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/251] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 799219e39599d9f22048285b410c0dce419447cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/251] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 3b605e4bcb7edf4ca7b17e17972506df19613e96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/251] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From ea37a9f397d43ce331bf0d207f9251614f2bb495 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/251] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f821c1fa87102bfe37b9417bfe6454f01c5f60f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/251] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From d2420a25609f1c18ca4a0ef304ea9ed3b7c9fab5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/251] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 39f3f9bcf00b2c99e6c9b1521bb5830536e44b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/251] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 02aa9e16ccc5127b8aa7a49b29ff4d36d545e2db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/251] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From a0e75b702ddc66092b96007e1bb054fd0d366e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/251] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 9772d2efbc8ab3a0216b0dc81bc49f9132518def Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/251] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From dc1d07c76ca421cfa68998f1a18c1233ec2189e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/251] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From f43b82251a10be0536bdcb10a1901a0f91fb4c2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/251] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From a7e6a2b48b27c057167e03088550b397524ab85b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/251] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From c491c1359c921208c7c843a36d50eb5f626ef59d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/251] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5c5a0b18bc2b565d345da8718c6a46c21d189417 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/251] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ebb10949c22a5644b08ae115ca5b6852a6b3814f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/251] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From ca44e54348affb0392c54de57a6e1121abb977ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/251] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 097fa305152c14f68b33a2427c1cbd14f31bacfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/251] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From bdfcef8add2df3ee6b8bab9f9c64d0d7f3c88812 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/251] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From a840e9246dfa859211d96b44523daf6cf6296f73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/251] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 416c5a2430367546b212f01e8d3b134835cfdec2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/251] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 578422f770471900c8d76a46ffcb478392b34358 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/251] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 57dc78c916f5c33e48d601943129758eef56b363 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/251] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 8d084568e2d5c70322a676031550fcd861dc9e00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/251] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1cd65fd7977e1df5cfc1b0423fc311ef3d50ac24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/251] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 4c91a72dc62d6cd2e2bc1ed61b40ef63de451b9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/251] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c92ee522f899a4591680bac8eba87abbe504d120 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/251] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 8eb5e689b1365d7f35f5d025cd697bad768feea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/251] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 1c10c07b662149d489603fc453c530431c36df05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/251] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 77431c09f5bfbec8c1a3340b2d62bb86f48bc63f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/251] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 9cd4a445d1ebdb3fc05f54c1c19f795b9d8e35e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/251] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 2869a6797652d17b7cc883cbf73bb4ba42a86ffc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/251] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From a258f26bcf4efe41ec3068645084d7ba1b810878 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/251] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From 124b025d79e1bc5892dd1638eef512d629cd6fd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/251] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From bcd95bdace11b6ea767d3166b47971a2c534d23b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/251] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 199beb67225bc2cf96d54f303f840bd939af2be1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/251] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From b5565dc66d7e75bae23328522996e473a3502dc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/251] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 483af6951d19194e28f20878e96d77831a4af704 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/251] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 025f177a57e1b9e71ff51b07aae21e2b4b52d910 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/251] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9e95d2989c3b12a6c9f94b449e4670a1d41911ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/251] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From aaaa24022d9acb4af248d252276c7aecf6c8d771 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/251] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 772037bdd3bfda7ac84ade78e21a77cc1f004f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/251] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 9b2d6eac4558c48599bc2dd54c22701add51a8eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/251] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From eee333c58cbee44a4420c1c7a256b4a20193035b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/251] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From a5a640e6df83087f994480188c1aa8e26629309f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/251] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From f1eb62ca51a30cc26f490f63c56111ca18b3aefb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/251] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 4ff59a8989161cd93c21d877ba913329e02bd312 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/251] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From b7be33bc6ae95c6ed8bb7e29629645a64791df3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/251] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bea4d6caa47005afde38e6f8a7ea35715bb3e1c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/251] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From b4398bdeb7bbd2f193f24f551104a20aff289b54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/251] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 589065e6e2e3e0b14aa0532044bb410e000f12c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/251] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 27be21433b8dffe6c458c71417885f3cd37a5817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/251] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 007524659ce121ea6a5676c36db6ed818ed05319 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/251] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 891056b35206a2a10179672a6a71598fa882bdb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/251] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6719fac8e66951631542028e5d7f1b7d91d8ff80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/251] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 4cf635c1f9c015a1f9bd824891440bd585fa40c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/251] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 10efae469f598a8166b23456c47ce8563363f0ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/251] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From aa0641295044413cf8af8d2550a2aaca292e6332 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/251] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From e692ad34f5e45bf489a4276e5c0244739fa8c758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/251] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 4ba5387a527a27a89f5bbd3e70eed64def122fc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/251] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From a6e41134574f52533b51d8df0ee55d7896097d73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/251] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From f0dd343be5d2650c736cee8ec390b67c8d53ad1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/251] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From aa7081a2b9bba90bc3975f5560d781c4e2a40a8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/251] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From a163b74827dd4dbc37e3706b4c353e99a4d2df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/251] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 72279f8430e4cba0b3b6d90303115b9b952cec27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/251] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 15dcedbcfe8aa892cd0f2544f065d77cf94108b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/251] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 3ecea0866c1b2c9e56c2b5d5c7a70bec2f4b1ffd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/251] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From ba272ce7e284efcaae60a267ee34f01a7e32d254 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/251] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 094b98fafeef17ccef59f2f28c552cd862ea5690 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/251] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From d27a1457af40366e3f4ab9ec51b9dd22982b2e24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/251] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 45b830c70f7fe4e2aeeb20b78c11872833b40920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/251] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 31c2fc42e62126cd457b314d9a17eabb02d978b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/251] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 6e273238e100e77701e1e6771a2f7f45ff479537 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/251] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From de4889691c39b19858a369c9066251ac629d7a78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/251] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 709cbe0525b3f0534a29e0c228539e2154440179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/251] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 00fc0d5e2699473dfbe011f2f10fdd04dcbdcbf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/251] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 2c5a680a2b8c4b7bab7259cb59d690ea91e18098 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 118/251] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From e6c7574f30f21c9480176caf8000bce42a0190f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 119/251] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 087d3577c31fefbce8cbb079364290a24e459a8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 120/251] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 225b744c44440ac4cbdea488e4d48e09f532f2bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/251] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1efed475a272646a5a44fbf69f138b4d08fb8820 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/251] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 73d618c13acc8012d06386f5b6c07c0488da2ea4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 123/251] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 846bbd54a76ea28979bd21801ea86d00aac84ca5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/251] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 91c1df2317f54c72e9ededc3f83a2708f2885157 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/251] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From b606888110cb6d8fc896d16f8b3f2699409460eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/251] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From aa2474c81e46ca07f627c09498e0ae7187eb379f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/251] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 5d60b9f9776c4eb0013836b91e7668f5f5c916fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 128/251] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From c1e98fff54c37a5531ddaedc2134bd318cbab348 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 129/251] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 491e261eb78..fea0462ba6b 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr all
 }

From 14451db38acaeff5887028363854a82770e3b5b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 130/251] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From fb80f3a115dab2ce16336a4628d5171109a6d5c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/251] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From be92e561d61e235db5ad446ab3056bf8064ab48a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/251] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 700dbf20d0ea7aa07777bc796656e7a080d64e12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/251] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From c3232ac14c2dd824be33a82d8524f8eb41bc6348 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 134/251] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From 7842d2365cda9b186ec1bf735ea524f22a932c36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 135/251] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From e65bcdd0979072b2bc207f84bd14d07f947163f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/251] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From b60125502a3a76f65c2ff0707442f4b4037c441a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/251] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From b863b682ed346ab68c367830fcf3af9003901dc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/251] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 2d73cdd502b5e2b029c651a8fb405eb691d0d43a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/251] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 01fd6e56e4dfc9b7b947130b1f573e13080a6329 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/251] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 8aea3388f1ff162301c8b8e52d6eb4048ead0c04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 141/251] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 4a71b6512263723eca220ef9a6ceba0814985ca8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/251] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 290b0e4f9cc136f0d7871de490cfbd4581d6c15f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/251] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 774b55e3a7695b5a3a8813fe4ec5752d618b3caa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/251] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 813427b50828d1f9c37ccdae342beaaf53e2f3b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/251] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 40490d132d61adf7dee985ddc1546a8406ae388e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/251] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From e8a3f32d811cc69a4d8a64fc9ed1c5d7d498628d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 147/251] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 5075b3e2f9ff041fc1b50bb70ce1a1e04c3ee241 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/251] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 6662065abc88e9a23a8a86daba7449e95e8c5a76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 149/251] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 45380d98e7c953b7f1218197f97bf77084eba7d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 150/251] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 0ebac6f36960c31aea5c10fdfe04e7e5d2000cf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/251] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 53363855e4596c3f0591491732a01a4cd8fbefe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 152/251] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 7f7a190d5a6683640ca92f58423dac7396e3c470 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 153/251] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From e5e8591a97c3880876da849786b50cb14b317e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 154/251] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 61580d420a10b54f12178199d57cfc84e1788e35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 155/251] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 89adb748c6d144623e48d22f830eb53820495321 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 156/251] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From bcf93cee67cf774003f7825542f1d8ad82548b20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/251] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 5e1bea6505b8dd0bb39cd574fa1f78abe7dec0b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 158/251] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 39d0569177829d34d95e4796c6ce990cac7dc573 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 159/251] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From d9594a6ca0784b2e0d4ce2323193ed13b04a73ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 160/251] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From b32051c3e801acffa6465789f020915b7878a8d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 161/251] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 54a2a3a1c275cdde3ba7a53f698f62b4e44ec8e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 162/251] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 7c3abf844704809efa7723e63a086fe1517a01f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 163/251] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 740982f0b1b23a1449df65ae2a9c99b4e735f68f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 164/251] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b44098ae0d1cf93a54e041348e3a5a21e2eebdb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/251] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 81ef8b3284d5087f38cd4a370242c9b8d6cbcfe7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/251] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 4ed50742664f6143a32ce426b7b2b8057b8ec2b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/251] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 7ca5f6790aace673b584e2db2052a1c1e1f4c322 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/251] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From e2391a08fd76a2fbd8991672a5442404383d046a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 169/251] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From ca0744b60505b52b8b0906a0b5ac4d372d82ced3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 170/251] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From aed439dbee5b7dfd8cca5d7bb6393598de1ee354 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/251] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 1eaf9cc27132ae622893ed5c362eb6dfe603b0ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/251] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 54deebf33d2c67803b787e50a4aa1cd4adb10e3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/251] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From b5ad3bf68819e2752699dfbdbe1a5b4d32281e84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/251] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b19691d7aebe70b5c5c56a006d5048b5ecaea5d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 175/251] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9a450a809d830553b03c908d1bdb8a7c328e0774 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/251] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 21456b67ced49c0d1a89048e27b7ad3a5aa74110 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/251] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 75c8202f3649127142c03978bdb8d1782fa71e17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/251] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9b909c7400ceb1c1ca631487ae7d080d78a5c3d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/251] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From aefbc1efd1c0d07b05a56dc7da0e6b127d6ec246 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/251] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From cc67fc07917fd2662f97271631c7ba6d2c48e95a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 181/251] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From a9d55404c87402fa17306e6839a9dba75a0220dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 182/251] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From e89eaf0f3d5a35832d8685192647df44c3e5c4dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 183/251] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 2b18bbed9ba23cd4a5f19bdb4d0c71dcb3a04f49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/251] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 146c43660fc9324eb078e8a1291c5620bdf456a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/251] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From c7fc420a67b5a739494b265c90b545949a67b213 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/251] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From f5310dae5d19c9dc0db433d9ee75a2b56b503972 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 187/251] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From af829a02537c807ccea30c36d064e9a4ec1efc95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/251] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 04cddd6cf0629cf113c4a5ab27ee83028a9e70c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 189/251] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 988d511e29cd26715553c8320cc34cf4cbfb580c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/251] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From cc744066e9c1878dece13da803e79fe2f73d3f41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/251] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 7e8d0a55b282e29b31679aa3d4dd4f783071fe73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/251] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c4cf6e39f0e34df9036887c71dfb457f3b581059 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 193/251] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From d014137fbcd6401930114a66005720925c9602e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 194/251] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 3a76eb080216688cb0acba8e4964562c6fd7bc58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/251] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 8ae4b7f86194aa43131e6e25cacac16569e30621 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 196/251] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 7e10e437fc163aedee7a10b7e669bc6b184cb30b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 197/251] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 8c3bbb4a0b205ee2871380288f48e1ef04f4f7ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 198/251] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 0fa3ecc07166a51362ef8782c688d429c82b744c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 199/251] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From d175c103258e1197068ffb68a887d5c52330afdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/251] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 44229f2fde9b73e3153f288d13f00e7d7eb0e332 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 201/251] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From e24c30bacc516451053aac61dc426b7ec80070cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/251] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 9524003e76baaf4e1c53e5dbd68995ef92706cf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/251] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From dba6068d88fbb8f9445d3d93aafd87aad3988395 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/251] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 46c9699932fc56d24ec750c6194f8da42457a3fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/251] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 4940b8c6195bf610904ee4d743cdaa8f80f93603 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 206/251] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From b44e2562283094de3a84674c31ed754635e275d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/251] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From b558bd963fe8ba6f108d32758bce51430ff59e0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 208/251] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 8cd51acb3e351f452b405678fb77e040c3326a21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 209/251] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 91f41ee330c20c4b139851493479d9e16307f3e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 210/251] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From f504c38b28ffc6ae74bc38118b4678d4b987dd05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/251] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 0d4a613b069cda88897802b78e356dac7409225e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 212/251] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From c17aa98b82c68480dec6733a9fec82b4bad74b39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 213/251] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From d6bf3829704a1f980d65aee1e80b162382a47df9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/251] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From fa703d920538eecc246e7a0d851edac43f9919a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/251] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 97f7e4809af705a00b92c3479784f578fbcc612c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 216/251] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 3a7f126e138f6292b917ec462e3afe26780f55f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 217/251] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 5c3c6bff2bc57b6d6f610e431a5c0e0f7dad8b58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 218/251] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From b22df8c207342f0ab3c517b797da7696ade6794c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 219/251] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 0dcb8222fafa723fb7eb2fb7c6e8fbd20c108916 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 220/251] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 474fd1aa4be3457951fa98ed4a8ecbfe656f76e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 221/251] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 176013beb6acfca9d3d4408077032b5545197c61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 222/251] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 2636848a72e869d315b15b62d519209fe1b39af3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 223/251] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 32b8ec40c2bd37068e0f20d1ea58d7ccb8a7a3fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 224/251] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From 5641633bfb378756b7169ce51f7209ee3de3c728 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 225/251] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From a3d2407eb725485875db210b54a8a6f8866600fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 226/251] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From b8bb76edbddd5beae46b8e43d5497f4c9ae75881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 227/251] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 792af92d11e7f85796fb0db73e800a46aab319a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 228/251] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 8b7fc8dbbb17aee5f078ddc4d196a59047742794 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 229/251] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From e2ff04f3b4e2ca1a4d1b02b40e09e2a3e2241c1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 230/251] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 098b0ddd53c7cfbaa2adfdf050c52dbd9a594c8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 231/251] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 2b2f34294f31f94b0f7aa8aa300ae18e0ff5a216 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 232/251] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 79c404111ba6132149971a5142d2905c4bb815fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 233/251] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From beb9e40256775450ef885028e4032d9d3e469431 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 234/251] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 2c10b83286a96df33d0a8943639f03a085092d91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 235/251] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 0bc85812690aa26cd960e6b1ffeb01d326a5a227 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 236/251] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 31f2939b25fa3526693cdcd01762516077fd185e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 237/251] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 36b074a9b9da543f461cc10e608931e9d9d1c9b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 238/251] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 2e11e462a285f0bf79960b976e34652553bc41ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 239/251] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 823ad041c85c535957dd97a52cd2f9b65be62635 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 240/251] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From d5eb06fa83fce809efd767589c187a50c8339202 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 241/251] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 5a0c9a3311fc233d762ff704b045d6f328df4d82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 242/251] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From ac3b90d712928c1540afeda96f573ef5e15fe88f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 243/251] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 0497b673c417a51cd934f00596819706f9bfe681 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 244/251] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From 79e0b9eed2a5a04c4defcd431b1e5b5b8120c3e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 245/251] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 496d9c4fc059e7dbee18de2c3163604ade86e327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:22:46 +0200
Subject: [PATCH 246/251] xine-lib: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xine-lib/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template
index b4801c25561..147eb7d5ade 100644
--- a/srcpkgs/xine-lib/template
+++ b/srcpkgs/xine-lib/template
@@ -28,6 +28,8 @@ case "$XBPS_TARGET_MACHINE" in
 	i686*|x86_64*|ppc64*) makedepends+=" libva-glx-devel libvdpau-devel glu-devel";;
 esac
 
+CFLAGS="-fcommon"
+
 libxine_package() {
 	short_desc+=" - runtime library"
 	pkg_install() {

From e6c897f9b93460e3ae3bc65b44856028ea7eba34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 247/251] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From a140558962facfe62f57527154f880e79e040bbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 248/251] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 59360b52bd9914210d1c93bf5a020588dcbe0343 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 249/251] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 980186874b59453a00bd4776fb30c9b51f154eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 250/251] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From c3acd760327206f43d7f5aceabf8111839a7337c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 251/251] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (35 preceding siblings ...)
  2020-08-19 12:27 ` pullmoll
@ 2020-08-19 15:13 ` pullmoll
  2020-08-19 15:20 ` pullmoll
                   ` (16 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-19 15:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 241615 bytes --]

From e92f7e69aba8791d394f00f2497a446df95f9fda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/252] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From f0d54310c7f845c45c66c04d1c40b3140b4ff305 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/252] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 9061958c19733e0d5b678b17ac78a15dfb327dc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/252] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 3cd56ff60fd4aec4153b8d9acc5b4d71b17ec19e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/252] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 15db24087837e1e66617792d97b3b8ede7bdd267 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/252] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 7a001c94ff2a7d0813ba948261142e1945712017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/252] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 2012accf53587813221879ba7e44d6f670fde350 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/252] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From e9444e28a4b90d7848c8af6dca32485937dba5e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/252] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From f481cbd5b7a7b2ed4492d6a355a542dba373c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/252] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 50421262997c55ca8270ea4a4152936d0595d40a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/252] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index b9136364a05..f00b0c37fe6 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS+=" -latomic"

From 3ba9424085732f312aadf7b3237d9dcf950f38f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/252] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 74f09e8bfc1525d779e1b1b46832c1ca470b7008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/252] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From c5a3e37c6089ec9fca808cc1502a621f4e1cde3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/252] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 9c765f7382a0818a2680f8244f8954186eabcb71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/252] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 133803f59f2bb82dd4525dd4b74feacced2e0cbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/252] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From a56f791969989ac444115caea08a4a12ee121efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/252] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From dc3ec61df8f65ba222cbcad63843cd38611f1939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/252] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 60ccebabada0a00ebd3e70441833d4854f5f9afc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/252] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3f7d54bf2933fc3e2fe67de1af0f705f67a389bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/252] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From a4d2d0d19a15d12a04850662b2ad381cdac0c024 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/252] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 101397360231bdeb10953ff50e9e4d209e35059c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/252] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b2fcbd79ebb3c18373f5b5aa941a231cc693ad34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/252] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From d486cf4abccf33c0f8f5c549b8eb42dd6b80b8f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/252] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 2254b1f6562b8fb013aa6b26ca4d029a6f15ddf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/252] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b0fae88a4e0f4b8559e591638ececdedef73391d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/252] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 193b691aebd7965c9ab05d84795f0bc45b359cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/252] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4f08fe9ca8238795a279a2ce83f1d17638f83d85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/252] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 059c9d5bbcf255fe58e98fb43b1ba1917b373c93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/252] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7d4603376bcfcd2916c3f9ff1a161f289522e287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/252] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 66bf9e018a1188fc2444c4f336f305046a525aa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/252] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a90388ae8c1fb9610b31827fec2d3b4b98cf7ce9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/252] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 3c07eab73c6c6601ae8185f7ac945e4e7e5c827f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/252] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From 5856a709e3701130d44caf4ef09cf8e7a8476cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/252] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 7f23562c7c712d8a709a2f591064b6c39d9c9e82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/252] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5e62045cc029ca86a85fd2db63c5408fd1aaf842 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/252] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 56ba784d8658fa44601c161667e2ca2e35a0b315 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/252] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3a8c82b5ed01d648b1ee7139aac248d11b390d27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/252] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From ce426fa893bc3d5df34a5c065299cc710977450c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/252] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 1c15fdec14d7fa356c76e7e4e3d1ec205bd91ba7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/252] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 6521de607cf2950be6670d56bcd9b9e7d29e186a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/252] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a5f1f1414c887b9c9b85a6bfa52c326e48ea3158 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/252] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From f617f9f2c7682453c1cc847e8b73bd6415ee4ef4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/252] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 799219e39599d9f22048285b410c0dce419447cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/252] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 3b605e4bcb7edf4ca7b17e17972506df19613e96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/252] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From ea37a9f397d43ce331bf0d207f9251614f2bb495 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/252] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f821c1fa87102bfe37b9417bfe6454f01c5f60f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/252] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From d2420a25609f1c18ca4a0ef304ea9ed3b7c9fab5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/252] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 39f3f9bcf00b2c99e6c9b1521bb5830536e44b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/252] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 02aa9e16ccc5127b8aa7a49b29ff4d36d545e2db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/252] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From a0e75b702ddc66092b96007e1bb054fd0d366e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/252] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 9772d2efbc8ab3a0216b0dc81bc49f9132518def Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/252] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From dc1d07c76ca421cfa68998f1a18c1233ec2189e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/252] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From f43b82251a10be0536bdcb10a1901a0f91fb4c2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/252] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From a7e6a2b48b27c057167e03088550b397524ab85b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/252] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From c491c1359c921208c7c843a36d50eb5f626ef59d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/252] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5c5a0b18bc2b565d345da8718c6a46c21d189417 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/252] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ebb10949c22a5644b08ae115ca5b6852a6b3814f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/252] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From ca44e54348affb0392c54de57a6e1121abb977ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/252] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 097fa305152c14f68b33a2427c1cbd14f31bacfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/252] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From bdfcef8add2df3ee6b8bab9f9c64d0d7f3c88812 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/252] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From a840e9246dfa859211d96b44523daf6cf6296f73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/252] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 416c5a2430367546b212f01e8d3b134835cfdec2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/252] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 578422f770471900c8d76a46ffcb478392b34358 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/252] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 57dc78c916f5c33e48d601943129758eef56b363 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/252] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 8d084568e2d5c70322a676031550fcd861dc9e00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/252] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1cd65fd7977e1df5cfc1b0423fc311ef3d50ac24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/252] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 4c91a72dc62d6cd2e2bc1ed61b40ef63de451b9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/252] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c92ee522f899a4591680bac8eba87abbe504d120 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/252] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 8eb5e689b1365d7f35f5d025cd697bad768feea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/252] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 1c10c07b662149d489603fc453c530431c36df05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/252] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 77431c09f5bfbec8c1a3340b2d62bb86f48bc63f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/252] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 9cd4a445d1ebdb3fc05f54c1c19f795b9d8e35e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/252] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 2869a6797652d17b7cc883cbf73bb4ba42a86ffc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/252] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From a258f26bcf4efe41ec3068645084d7ba1b810878 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/252] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From 124b025d79e1bc5892dd1638eef512d629cd6fd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/252] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From bcd95bdace11b6ea767d3166b47971a2c534d23b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/252] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 199beb67225bc2cf96d54f303f840bd939af2be1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/252] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From b5565dc66d7e75bae23328522996e473a3502dc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/252] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 483af6951d19194e28f20878e96d77831a4af704 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/252] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 025f177a57e1b9e71ff51b07aae21e2b4b52d910 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/252] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9e95d2989c3b12a6c9f94b449e4670a1d41911ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/252] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From aaaa24022d9acb4af248d252276c7aecf6c8d771 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/252] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 772037bdd3bfda7ac84ade78e21a77cc1f004f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/252] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 9b2d6eac4558c48599bc2dd54c22701add51a8eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/252] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From eee333c58cbee44a4420c1c7a256b4a20193035b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/252] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From a5a640e6df83087f994480188c1aa8e26629309f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/252] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From f1eb62ca51a30cc26f490f63c56111ca18b3aefb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/252] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 4ff59a8989161cd93c21d877ba913329e02bd312 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/252] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From b7be33bc6ae95c6ed8bb7e29629645a64791df3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/252] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bea4d6caa47005afde38e6f8a7ea35715bb3e1c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/252] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From b4398bdeb7bbd2f193f24f551104a20aff289b54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/252] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 589065e6e2e3e0b14aa0532044bb410e000f12c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/252] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 27be21433b8dffe6c458c71417885f3cd37a5817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/252] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 007524659ce121ea6a5676c36db6ed818ed05319 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/252] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 891056b35206a2a10179672a6a71598fa882bdb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/252] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6719fac8e66951631542028e5d7f1b7d91d8ff80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/252] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 4cf635c1f9c015a1f9bd824891440bd585fa40c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/252] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 10efae469f598a8166b23456c47ce8563363f0ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/252] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From aa0641295044413cf8af8d2550a2aaca292e6332 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/252] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From e692ad34f5e45bf489a4276e5c0244739fa8c758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/252] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 4ba5387a527a27a89f5bbd3e70eed64def122fc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/252] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From a6e41134574f52533b51d8df0ee55d7896097d73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/252] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From f0dd343be5d2650c736cee8ec390b67c8d53ad1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/252] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From aa7081a2b9bba90bc3975f5560d781c4e2a40a8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/252] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From a163b74827dd4dbc37e3706b4c353e99a4d2df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/252] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 72279f8430e4cba0b3b6d90303115b9b952cec27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/252] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 15dcedbcfe8aa892cd0f2544f065d77cf94108b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/252] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 3ecea0866c1b2c9e56c2b5d5c7a70bec2f4b1ffd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/252] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From ba272ce7e284efcaae60a267ee34f01a7e32d254 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/252] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 094b98fafeef17ccef59f2f28c552cd862ea5690 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/252] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From d27a1457af40366e3f4ab9ec51b9dd22982b2e24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/252] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 45b830c70f7fe4e2aeeb20b78c11872833b40920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/252] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 31c2fc42e62126cd457b314d9a17eabb02d978b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/252] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 6e273238e100e77701e1e6771a2f7f45ff479537 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/252] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From de4889691c39b19858a369c9066251ac629d7a78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/252] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 709cbe0525b3f0534a29e0c228539e2154440179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/252] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 00fc0d5e2699473dfbe011f2f10fdd04dcbdcbf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/252] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From bd595e68e3f85f870016dd93061151d6fb939e7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 118/252] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 srcpkgs/libopenshot/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libopenshot/template b/srcpkgs/libopenshot/template
index 57b3edcf7e3..45cdcf227ba 100644
--- a/srcpkgs/libopenshot/template
+++ b/srcpkgs/libopenshot/template
@@ -18,6 +18,8 @@ distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz"
 checksum=8ae7d226fbd2efbc84da4f7d9d8c7f3cc9616e4de46e1233e3b0a84ac0a429bc
 patch_args="-Np1"
 
+CXXFLAGS="-fcommon"
+
 libopenshot-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From f9efa5eea81512676a20dcc7ffde239c29b98668 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/252] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From a81023458cefb0cfb3e185e0853df2d6dc1d3798 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 120/252] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 3657ea4defcaf342fbd2f85b7cda3c1987f57440 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/252] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c9fa1723fa45371d14af3acd737aa11c9fff461a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/252] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 91965d226eed1b7147f9ddde74332d9a73a8fa2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 123/252] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 0a4bc963c9de74d3b9e97934df865e0860e1f4e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/252] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From fedce335a4b1fa885beb4fa485995275164f0872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/252] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From cd42a0eb8f3cdf56e7a08f9e83f8e4917685b0c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/252] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From fb4175c1b0f2eb6211094ddcb7417218ec1d05a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/252] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 51c2c2cc948304eb705d788b831398ad83afe8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 128/252] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 5f800473f736e61756b7473a66c7cd1e4100bf42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/252] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 57458b4f1b0b43e1f71f35e08edc05615438d014 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 130/252] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 491e261eb78..fea0462ba6b 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr all
 }

From 86651e1449f9ec9cbf746e2f7d690138cd75b23a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/252] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 7bfdf90806a45a634b3f9075471bd44b01c106ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/252] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From c91409bf3f43a87b9bad6aa128fabe74667da751 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/252] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From b9bbb10c7d2a145cce37a506f9d5e9f5c8066ae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 134/252] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 952ed413b52e4387ec8e5089ad1e8e81fe5b5d47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 135/252] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From cbe944f40b87339216b034717b69c5a05c762617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/252] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 860d3554ab3b417055557b6ca896e323382b6403 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/252] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 45fa8ff8e4289e5baf6257ba93210ad212940e75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/252] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 151bc53da5c1b587cace924aea03de9d4ab4a098 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/252] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 41a80c32e4a2c99f321fe50cf292528aa023f0d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/252] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 492e8e3df4712238e0c0367f8407464a1a7c0bd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 141/252] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 9590721c6facd34690c77a763c5b8edd029e5cb7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/252] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From af7f874955686e559290d6c356805c23775c8852 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/252] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 6e1b142b296cdfa2bc1efc9c84ba11ea22ac8c5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/252] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 29e00bdb078fe48df1a554c3d0a01f7bcddbad52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/252] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From a8526eebbe155f5dec205f638b628feb9f4e6d84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/252] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 62efb9b9cbd24d49de2417db9c52037c986139a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 147/252] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From c54c9384e0bcea2db567ab8e7c4df2ed191dae25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/252] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 7afacfb9b2768e472eeeed5d8784cc289757a7fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/252] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From fde303e48771124273cbd8db52724dc54cadec9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 150/252] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 9335789a73ff4dd8991a097bc85e3f734414cf20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/252] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 21d19e5e932fbf70a55f28ccd15174b1ffd5e3fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 152/252] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 345b010bcea12538b8cf31e0d4c11ed20cc2471a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/252] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 67e7c063fc3b1b053e2967b1008fafdb6ad2bb2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 154/252] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 8fe1d72aa018318ba8a4bb1b9549ca272ca94196 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/252] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 975181e3c721a2d882360ae0e3ce23a811d91967 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 156/252] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From f11a9a31a10a46200f3af361ed995bab71e427db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/252] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From aa401d77727d6ba543cabee726c075607a594602 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/252] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 9842bce27d4ddd13029e1d5ef27de7396238c7c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 159/252] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From a8f1eaa372533fa87ce1feccfa945591e87a9718 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 160/252] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From dcd1d8d67425e405ab5f937d296545c81153e3fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 161/252] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 46f84614823ccca9b0d8af536960d79fd6c77a31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 162/252] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 9187bf2edc28ab3d81d7de815693873e6c29ed37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 163/252] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 97daf9df8b0a6670b4a2c769e1d456f3b3402e3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 164/252] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From a5ef5c9bd07e94dbadb5e8dd11bf0a8373c4c327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/252] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 4bcbb91de8a133ba06c2dac84c51febc74cbe508 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/252] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From c8fbb26d92804203d095fdf61db9ccc956b89075 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/252] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 84ae02cbb61009bca68afc961b79d54eee05d54e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/252] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From c1e8e9303b8719977123b2b141eb7704895a7900 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 169/252] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 8444256c783fca16a96f39734a994d43be4e40f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 170/252] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From ede3fde44b2383c7e78ffa139483bea0eeef6461 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/252] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 54c16e81d512ae8415e0deae079805e95c62201c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/252] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From a5a040599e3cf5d86136acca8e8f3387c55d9a20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/252] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From ea70d427530b66731794676d51587e8087b5b731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/252] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 1fb6acb58e5218fb2442fdd060a27df2d282e56a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 175/252] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 82e1bbef4aab53a379be351871b3bcf6b2f05aa2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/252] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 2bd1f693fe0a1e0aae3143b8f73c846b1ea59599 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/252] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 3f273ce2e672d2956860cf08b975366fbb614385 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/252] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From ec6ffe2b3ba77d99d7c752eafe343cb19c3f9897 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/252] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From b28511f6c7e128431e67731388658180ef34851f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/252] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 2f802f0c707de29c73a6657cb836986dbb0ef088 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 181/252] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 1f7425ca426ef77c8a7055f70271f2e72b33cb5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 182/252] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From 7a4c7aacec721aefd605a6df71f70bc7ea724003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 183/252] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From a410e925d9b793c0a9902a29b6a206e19c0a8c8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/252] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 4570008d4ea343b7cc3192827fd7c7ad14ef82b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/252] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 879679bcbcd9fe72567d259d1f4e536c92ebb248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/252] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 5f628f7d8d6bf6010d17c316c7e79e635579960e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 187/252] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 46cf515bf54ad7cfb733d27d3842a2f27416122e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/252] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 6cc5a1e2cfc939e8c32b9f51c1d5de5679d25f78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 189/252] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From dd7cef0bd352a12723096cee5cd09e05059a42bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 190/252] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 2cbb3a54b1856377a1f1e18368cd1c0f2cc9ebb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/252] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From c9f7b8f00315a33a6e7452dbaeea27c4527b471b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/252] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 756a1f60429fa309811426e223feb964b517e7e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 193/252] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 89ac8418ad1802861d73eef8e435149090a8291d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 194/252] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From 58161a06d4172aa0a1499b0fb34a650bbbc8f555 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/252] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From c965df8b8b76cecd745b63bbb4bd608dffed252c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 196/252] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From d58871bdfbe678d548caee69328bf4feb84483b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 197/252] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 825f1bdf8669b9e1acfdfacb9416c5d7e4f14fd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 198/252] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From e798b2890c1bbd96a7553d6e370dab5f87d01cd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 199/252] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 25460f6da343ad278b8e9f129ee4c254bc2c1587 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/252] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From b072806713b1294732e9a2192b64b3dacd5f95a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 201/252] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 6dc2a42ad6177ffa58b428c9dc1a1659292e2439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 202/252] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From b963fe1eb40adc86309e99044ae2fadaa00fb496 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/252] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From e1e5dca8fd1a0dff225144a6efd7dc843cd169b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/252] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 34392e7ebd1725bdb1de6ba05422a9c5dd278255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/252] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From d5bfb54a46c9c96c156a52438a02f94f9a44cb72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 206/252] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f11d7ca6a8b921ff8e10deefb0d5184917160738 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/252] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 457f3f3a1561b8f1ed0da077521e32a0602db076 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 208/252] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 6d043e4d08bca3d761012957cc86b02ff8a2389a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 209/252] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 3e862f6650b1736dfce909606aab476d989bec3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 210/252] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From f50654a804ddcb93e1f5114a96c55f86a5d4e0b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/252] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 195c09ca945f0443b266c1f8ef526d09b56d0e9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 212/252] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 4b11f971784cd7c384039c107ed84ffc99de71b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 213/252] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 0a3569e4ed1d7cd0160f0c4c96ba59b0762d7676 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/252] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a5f2a6f9b6dbc20854841929cbb41ac4b96a566a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/252] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 5dec6bb3139a89dcea65517e1f92ee7fd61ea83c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 216/252] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 9749500d0b885f95d4860ceda35b54307aa2f756 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 217/252] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 35bb98e443cf9f5ee44fe303d31fe40adf486a08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 218/252] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 7732b06d8dc0697179e611e5491665edc00575d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 219/252] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From bd14a009b584a36a2b192d9195601ff05b83f151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 220/252] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 29defbb1851d3eef35e3eec48e3c4d6a2a804e8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 221/252] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From f8d006e221a9bef30c012ad7cbc0cd7027d518ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 222/252] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From a17bc9f81db96ae0312669c31b9875f65782fd56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 223/252] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From f5bc95480061b7fc3cdfa0e33816a79c22de9e11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 224/252] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 9ca5d76292652e68c5ca31a877a805a035f8d77b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 225/252] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From ced8febb7a35311c2b65410d5cc260a9566c3c1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 226/252] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 2582a5adb634f492f82a71c8568f6e6c2b625636 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 227/252] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 952ee3130e3511b4307afbbc90f51d68ef61880a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 228/252] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 192b62ead7bce4a1d983a004ecb537b9fe150382 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 229/252] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From c487285daa84b40ef492ef57c64d99b4769885e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 230/252] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 86c3d7bab58ab979cc50fac661c761c4f156713f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 231/252] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 59ca50c3f969edd56b266c701aef5418d940cd5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 232/252] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From e61da5e84317cd5ad607abf5511d584a9834927c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 233/252] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 991d79d52ad1dcc1f738e6a9116dbf84da4802d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 234/252] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 0eeea7d206c067e770907c8229809bff19f1ddf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 235/252] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 717b6b5b3b349a7817f6b766470fbf6202d10847 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 236/252] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From c3b19cde642815d6fea80646df5b70761b9fe993 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 237/252] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5f5a92bb9300ded96acc5df911a05f9cf9281db7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 238/252] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 3bf693dc55c37948194029b228e41152330a7518 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 239/252] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From d610da0feee5c16473cf2eae802e76af3700de81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 240/252] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 9b3f69afad070a68fb999ae62f662a9121e55b61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 241/252] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 8bd63a6fab362615ad9392153c27b3c53a7515e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 242/252] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 87115f164baf82de05af2b917a787fd487844d5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 243/252] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 3a30de2b486656b24e7f3e28bc393d810a29e285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 244/252] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From abccec0c496ca1f3d94323066a96a70189177e98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 245/252] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From 5a6c084e2040277bad9a6aae36a52a402a6c2f8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 246/252] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 0e5125676afa7c4b507d946c08c8fefa142d5379 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:22:46 +0200
Subject: [PATCH 247/252] xine-lib: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xine-lib/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template
index b4801c25561..147eb7d5ade 100644
--- a/srcpkgs/xine-lib/template
+++ b/srcpkgs/xine-lib/template
@@ -28,6 +28,8 @@ case "$XBPS_TARGET_MACHINE" in
 	i686*|x86_64*|ppc64*) makedepends+=" libva-glx-devel libvdpau-devel glu-devel";;
 esac
 
+CFLAGS="-fcommon"
+
 libxine_package() {
 	short_desc+=" - runtime library"
 	pkg_install() {

From 31989da23ede66886da0640fe41cd3ca997a3af7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 248/252] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From f5fbd7be92f4fd796503dcc9a59723eb6c359bb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 249/252] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 101e5fd732b3dd991f0ef5476806607f71f4ed51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 250/252] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 65b9dcffff858410c4ac40ef8fd79ac1c27f295a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 251/252] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 37fa1c3b8eb780a983c43c9ff5ff28aacc0a2326 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 252/252] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (36 preceding siblings ...)
  2020-08-19 15:13 ` pullmoll
@ 2020-08-19 15:20 ` pullmoll
  2020-08-20 19:05 ` pullmoll
                   ` (15 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-19 15:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 243500 bytes --]

From e92f7e69aba8791d394f00f2497a446df95f9fda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/252] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From f0d54310c7f845c45c66c04d1c40b3140b4ff305 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/252] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 9061958c19733e0d5b678b17ac78a15dfb327dc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/252] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 3cd56ff60fd4aec4153b8d9acc5b4d71b17ec19e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/252] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 15db24087837e1e66617792d97b3b8ede7bdd267 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/252] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 7a001c94ff2a7d0813ba948261142e1945712017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/252] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 2012accf53587813221879ba7e44d6f670fde350 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/252] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From e9444e28a4b90d7848c8af6dca32485937dba5e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/252] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From f481cbd5b7a7b2ed4492d6a355a542dba373c9fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/252] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 50421262997c55ca8270ea4a4152936d0595d40a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/252] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index b9136364a05..f00b0c37fe6 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS+=" -latomic"

From 3ba9424085732f312aadf7b3237d9dcf950f38f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/252] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 74f09e8bfc1525d779e1b1b46832c1ca470b7008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/252] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From c5a3e37c6089ec9fca808cc1502a621f4e1cde3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/252] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 9c765f7382a0818a2680f8244f8954186eabcb71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/252] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 133803f59f2bb82dd4525dd4b74feacced2e0cbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/252] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From a56f791969989ac444115caea08a4a12ee121efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/252] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From dc3ec61df8f65ba222cbcad63843cd38611f1939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/252] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 60ccebabada0a00ebd3e70441833d4854f5f9afc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/252] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3f7d54bf2933fc3e2fe67de1af0f705f67a389bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/252] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From a4d2d0d19a15d12a04850662b2ad381cdac0c024 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/252] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 101397360231bdeb10953ff50e9e4d209e35059c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/252] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b2fcbd79ebb3c18373f5b5aa941a231cc693ad34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/252] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From d486cf4abccf33c0f8f5c549b8eb42dd6b80b8f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/252] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 2254b1f6562b8fb013aa6b26ca4d029a6f15ddf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/252] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b0fae88a4e0f4b8559e591638ececdedef73391d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/252] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 193b691aebd7965c9ab05d84795f0bc45b359cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/252] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 4f08fe9ca8238795a279a2ce83f1d17638f83d85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/252] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 059c9d5bbcf255fe58e98fb43b1ba1917b373c93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/252] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 7d4603376bcfcd2916c3f9ff1a161f289522e287 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/252] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 66bf9e018a1188fc2444c4f336f305046a525aa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/252] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a90388ae8c1fb9610b31827fec2d3b4b98cf7ce9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/252] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 3c07eab73c6c6601ae8185f7ac945e4e7e5c827f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/252] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From 5856a709e3701130d44caf4ef09cf8e7a8476cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/252] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 7f23562c7c712d8a709a2f591064b6c39d9c9e82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/252] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 5e62045cc029ca86a85fd2db63c5408fd1aaf842 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/252] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 56ba784d8658fa44601c161667e2ca2e35a0b315 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/252] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3a8c82b5ed01d648b1ee7139aac248d11b390d27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/252] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From ce426fa893bc3d5df34a5c065299cc710977450c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/252] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 1c15fdec14d7fa356c76e7e4e3d1ec205bd91ba7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/252] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 6521de607cf2950be6670d56bcd9b9e7d29e186a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/252] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a5f1f1414c887b9c9b85a6bfa52c326e48ea3158 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/252] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From f617f9f2c7682453c1cc847e8b73bd6415ee4ef4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/252] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 799219e39599d9f22048285b410c0dce419447cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/252] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 3b605e4bcb7edf4ca7b17e17972506df19613e96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/252] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From ea37a9f397d43ce331bf0d207f9251614f2bb495 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/252] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f821c1fa87102bfe37b9417bfe6454f01c5f60f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/252] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From d2420a25609f1c18ca4a0ef304ea9ed3b7c9fab5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/252] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 39f3f9bcf00b2c99e6c9b1521bb5830536e44b83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/252] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 02aa9e16ccc5127b8aa7a49b29ff4d36d545e2db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/252] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From a0e75b702ddc66092b96007e1bb054fd0d366e89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/252] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 9772d2efbc8ab3a0216b0dc81bc49f9132518def Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/252] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From dc1d07c76ca421cfa68998f1a18c1233ec2189e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/252] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From f43b82251a10be0536bdcb10a1901a0f91fb4c2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/252] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From a7e6a2b48b27c057167e03088550b397524ab85b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/252] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From c491c1359c921208c7c843a36d50eb5f626ef59d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/252] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index a2fc479974c..72ba2ecf9a5 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5c5a0b18bc2b565d345da8718c6a46c21d189417 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/252] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ebb10949c22a5644b08ae115ca5b6852a6b3814f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/252] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From ca44e54348affb0392c54de57a6e1121abb977ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/252] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 097fa305152c14f68b33a2427c1cbd14f31bacfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/252] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From bdfcef8add2df3ee6b8bab9f9c64d0d7f3c88812 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/252] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From a840e9246dfa859211d96b44523daf6cf6296f73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/252] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 416c5a2430367546b212f01e8d3b134835cfdec2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/252] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 578422f770471900c8d76a46ffcb478392b34358 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/252] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 57dc78c916f5c33e48d601943129758eef56b363 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/252] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 8d084568e2d5c70322a676031550fcd861dc9e00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/252] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 1cd65fd7977e1df5cfc1b0423fc311ef3d50ac24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/252] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 4c91a72dc62d6cd2e2bc1ed61b40ef63de451b9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/252] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From c92ee522f899a4591680bac8eba87abbe504d120 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/252] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 8eb5e689b1365d7f35f5d025cd697bad768feea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/252] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 1c10c07b662149d489603fc453c530431c36df05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/252] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 77431c09f5bfbec8c1a3340b2d62bb86f48bc63f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/252] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 9cd4a445d1ebdb3fc05f54c1c19f795b9d8e35e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/252] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 2869a6797652d17b7cc883cbf73bb4ba42a86ffc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/252] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From a258f26bcf4efe41ec3068645084d7ba1b810878 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/252] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From 124b025d79e1bc5892dd1638eef512d629cd6fd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/252] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From bcd95bdace11b6ea767d3166b47971a2c534d23b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/252] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 199beb67225bc2cf96d54f303f840bd939af2be1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/252] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From b5565dc66d7e75bae23328522996e473a3502dc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/252] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 483af6951d19194e28f20878e96d77831a4af704 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/252] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 025f177a57e1b9e71ff51b07aae21e2b4b52d910 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/252] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9e95d2989c3b12a6c9f94b449e4670a1d41911ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/252] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From aaaa24022d9acb4af248d252276c7aecf6c8d771 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/252] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 772037bdd3bfda7ac84ade78e21a77cc1f004f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/252] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 9b2d6eac4558c48599bc2dd54c22701add51a8eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/252] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From eee333c58cbee44a4420c1c7a256b4a20193035b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/252] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From a5a640e6df83087f994480188c1aa8e26629309f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/252] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From f1eb62ca51a30cc26f490f63c56111ca18b3aefb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/252] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 4ff59a8989161cd93c21d877ba913329e02bd312 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/252] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From b7be33bc6ae95c6ed8bb7e29629645a64791df3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/252] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From bea4d6caa47005afde38e6f8a7ea35715bb3e1c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/252] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From b4398bdeb7bbd2f193f24f551104a20aff289b54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/252] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 589065e6e2e3e0b14aa0532044bb410e000f12c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/252] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 27be21433b8dffe6c458c71417885f3cd37a5817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/252] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 007524659ce121ea6a5676c36db6ed818ed05319 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/252] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 891056b35206a2a10179672a6a71598fa882bdb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/252] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 6719fac8e66951631542028e5d7f1b7d91d8ff80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/252] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 4cf635c1f9c015a1f9bd824891440bd585fa40c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/252] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 10efae469f598a8166b23456c47ce8563363f0ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/252] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From aa0641295044413cf8af8d2550a2aaca292e6332 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/252] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From e692ad34f5e45bf489a4276e5c0244739fa8c758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/252] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 4ba5387a527a27a89f5bbd3e70eed64def122fc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/252] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From a6e41134574f52533b51d8df0ee55d7896097d73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/252] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From f0dd343be5d2650c736cee8ec390b67c8d53ad1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/252] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From aa7081a2b9bba90bc3975f5560d781c4e2a40a8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/252] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From a163b74827dd4dbc37e3706b4c353e99a4d2df9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/252] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 72279f8430e4cba0b3b6d90303115b9b952cec27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/252] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 15dcedbcfe8aa892cd0f2544f065d77cf94108b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/252] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 3ecea0866c1b2c9e56c2b5d5c7a70bec2f4b1ffd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/252] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From ba272ce7e284efcaae60a267ee34f01a7e32d254 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/252] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 094b98fafeef17ccef59f2f28c552cd862ea5690 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/252] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From d27a1457af40366e3f4ab9ec51b9dd22982b2e24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/252] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 45b830c70f7fe4e2aeeb20b78c11872833b40920 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/252] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 31c2fc42e62126cd457b314d9a17eabb02d978b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/252] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 6e273238e100e77701e1e6771a2f7f45ff479537 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/252] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From de4889691c39b19858a369c9066251ac629d7a78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/252] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 709cbe0525b3f0534a29e0c228539e2154440179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/252] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 00fc0d5e2699473dfbe011f2f10fdd04dcbdcbf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/252] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From dafde28e2ec58b0542099408b67b67d4984fb1d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 118/252] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From 78627730d665c5ddedfe62f3e81c3761b4ffc5a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/252] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 8e561f10cd486085e84d6f54402a02ecd589eeae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 120/252] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 5d7ca73bbe1636072c3b0a775560311d221f3ec3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/252] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 76e65e41063bd1faaedb7a644706c696197d27f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/252] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fc60fa3fbd1fec74b47d1cd2ce42dba29d0d2c76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 123/252] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 3a040d71cb92dd9098fe3e89567e0798c1fc2a4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/252] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 41a77f5fef48a4ca86de569adc3285f0e06a8462 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/252] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e56c65a4926d92a01521269c0fed073a9e7082f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/252] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 79dcd0af2b30e2f05736409acbcf59ee66deb8a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/252] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From e2278dc2e8421be205cb5b44db461d9800096e4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 128/252] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From df34328982ea1fc855ff4e78366253d93697da36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/252] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From a78e2b17d8488709dc2f34cd1f6131aa74d43d1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 130/252] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 491e261eb78..fea0462ba6b 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr all
 }

From 974c334b7ddbc80f026cd76c9cd87ff1c7859431 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/252] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From df68e5e5998d1cedc73c35bca85a4a2502e3026b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/252] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From b337e5ae7dfb4ef6e19492f94a245ce44440d86b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/252] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 11b953c8862e94f2a6a6befb77a310474bc1578b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 134/252] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From bb8ab52894410a916f1e985ceac2e505c259cfd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 135/252] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From 4e747bed66364a68abeaf32d29194a8f66e04457 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/252] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From a933d5d48d101cadf746853abdabf5c61160230a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/252] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From b662a06ec7807299e0dda1ef3b65855d58986a7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/252] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 63c960a6bf2eba745dee986b273773a11e28922a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/252] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From d1d2db13043f3d9cda442cb19c95fc72231766d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/252] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 3509102a133b892e94d722abf86e2e94256eea85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 141/252] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From cdf8393fac4016e964fe45fbe65c12647bd302d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/252] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 69112f8715eaaf64815ad42eaa494b41148e1605 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/252] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 7e5def88cd8036feaf3919e229b207dc9c95a552 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/252] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 011503b673634528c678081cf02275ad81320166 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/252] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From cc8359aaf9d4bbabd7833dc1b9cacba18665f37d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/252] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 370be11f0e097d4d8fcfbd5921bd5f20a6deea28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 147/252] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 616a3683509d899a2b69b5a7030d2e394fc05f2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/252] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From dd070a7aea446e551ddbe524a9aca12db2350cab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/252] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 64691549558d13e768d798c56da928faee5cba9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 150/252] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 48e9ae86f525d24c4f15856cea17e4842fead684 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/252] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 7adc9d7a8ad2d634be81a4a03f7c786876bc68d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 152/252] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From bf6c9076cdc6a05e854044bc8c33574fe4c9ebf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/252] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 4cc5a2d2ef7aec16f43779490429bf62466055b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 154/252] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From e9cfb9601031bf66fcd803f50aed86918888c235 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/252] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From b6b28f61b64ea3f746260800a661bf0dd5fee32c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 156/252] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From cdb6325a42cd76f0f0ac7837980a64910b94309e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/252] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index 260aeddf528..0929a6bdd1c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 7b2afc5d802250679c9b6bbfc5e504b3803ce22d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/252] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From cbb25c0444acc3571725e144548c1e43d75c434a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 159/252] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From b78c504235c68ff0f7a84bf7b38d3b53a59ae88b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 160/252] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 9380ae3d712b6d4ce61ba426862675e70e46ddf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 161/252] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From b50aa60eb8eedbadc85e1dc1be4d8b9ad1c4d012 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 162/252] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 7b3e3933fd7a12a67a81074ce5dd14c89c7e8110 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 163/252] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 864328bf872edc4b4c1bbf33dcd70bbb60c62334 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 164/252] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From d561b959eafe659aea019c3255ccdd1613cbb237 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/252] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2a09d9247d754bf376ad0203c6ec014080dd73c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/252] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 6cecb0fcbc206332c163d9b845064c232a38cc97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/252] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 3989e1b0d807de877a6c8297a039cf2a40433bdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/252] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 2b89f032e5c158e720bcce65d69cadd48b30b9d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 169/252] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 0ec0a5219c96beb43570bd9a33d3df00c4a10d1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 170/252] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From f0612796b8742884677ac0941538e01f69587cb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/252] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 78f4054b0102c47d6be9deb9fd1cfbd41f66161a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/252] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 4fad0aac7141c087b8567757cf6a975a4ce7af82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/252] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 80c5fb2c60a84474aa7dbadb8266cde59e0d7495 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/252] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From b0989c80e2f906bb190f086d2583772ada579c50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 175/252] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8631d9a17cb6dbe4ce07c66e993890bb3d7c557d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/252] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From f4211321b019bc18bab2665b74d05d9d6d14aebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/252] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 4e71d0d5c919d47f5025909e92c3ceb2df5a604b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/252] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 8959c26396fdabc427223d46b15b6cf19eeffb57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/252] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From c2e33498b0df27571ad4a9a3b1b960a6ea9123db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/252] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From d1ba6b62b5d92ae5f6ad58e61c7fea79d644f3fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 181/252] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 786eca79293a13a94a47edff0cfc4b6992ec56ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 182/252] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From fd038ef9f420a17fe4c97edba0ff663479cb5dd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 183/252] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From a242410af40de07573ac808b7957ecac959b2fd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/252] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From f22f7ae7cbba573574f047d7c0f8e5079d94fbcf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/252] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 45a382c18920f7851293495fa675f0d7161a017f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/252] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 47f9433f8e76639cc1a66b1bae87c0ed4215917c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 187/252] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 63dab48229ce94cf6eb034ca1e6edb5cef1a914a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/252] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From ebbd8c73bff02ac62726a784de750ae1d08a27c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 189/252] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 14ff63223958161ea1b5519ce3fdaefcf95e349d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 190/252] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 27090b9dd90b2a82d3cfd38b0a9978c6b55316a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/252] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 7004a5f45cfc7d5cdce5ffb67145d537644dfae8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/252] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From c11fe24a162dcf01d65f2e71af020bc854c3ede5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 193/252] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From a5d1587d734fe913c62a9c7cbb9759907273ceb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 194/252] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From 0f8a405dab3242f6d898c67ea89024ac66cb53a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/252] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 4003284e66480bb2bb535365b8b855987eacbe00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 196/252] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From d68dff19482e5c7aaf37cfb02dc5e3644d9abb54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 197/252] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 958e0c0184ec12979a9dfdf32f80025b57356051 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 198/252] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From a5f38f664e25f374af928d07e9e4853f436a8834 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 199/252] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From dd689d48295ecb58dc23497c6745035a3f689712 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/252] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 38317e382c685f6ff2688a89f72cfbf00549ed28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 201/252] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 0da85b4a9ed488cb8cfe405c8665a84c55b066ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 202/252] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 2cda7b9809b107b0b24448d6baf838b8f1255b59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/252] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From bf91c41a8e9c4198cddcb8a79fa6249a1f58d942 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/252] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From b4b058dd8521fcbed5885b685b1b02cbe851b3c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/252] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 4219ad59d669d6ba428712f71b5d965f712311a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 206/252] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8014795b09a22b4ed0fc64127e6d23c4d3c420a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/252] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From fde22a20734ca3036aa9f0ecdade6d0108d61ad9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 208/252] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 67a54c29885a4b19501c04ebc5a193590badb272 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 209/252] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 948ab8dac3824b0f098f18b9b80b06882c6815a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 210/252] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 1f49701182466f3b62c1bac31ea5965d3f15edd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/252] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 92624a8ed76892e6dc6d4a81eb9e65b39c95590f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 212/252] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 50e0ffbc1ca0f9201e1c57869f4cf95e4de0b02e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 213/252] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 9442f84eaf9af97d88aca1ed1522ce0ec538dc89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/252] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3e8c621c8ee61b2673e17c82c9a07ec7a0a5b15d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/252] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 9da5c93ce3b0bc30e825dce90192337e61372b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 216/252] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From ca20c79212db6acd458cd53653c4eb1abfe8dc73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 217/252] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 7fca4804564fce5b6c52a78da9ae9d159d9bbbc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 218/252] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 7b71aabfe1979e2c092a5b3cba4ca68410d7b724 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 219/252] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From f3cea18795601ac9dc84a30f20eee6aaf508ad24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 220/252] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 2ee97cc2982bcd86bac1c7c9210106d846073143 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 221/252] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From ad15a4f892f96cf9bb13dfbb0665e85c9f62769e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 222/252] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From e564560934e09127819440f59a6a231842e00445 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 223/252] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 2682509b0a1c227da785953ab02c048f592e39af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 224/252] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From cfd14039390413c05785b4840753d50fb0c0796e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 225/252] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From 3c5d7cefe3e2c90f7407b87808137722c2fe3a4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 226/252] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From b97b8dfe2c83e283c0ea3d355f64dcb90dc990c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 227/252] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 8ab6b029e1ade7c5179b349707e634a8b8bf4548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 228/252] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 173f73aaf602a460e969eb1c3e2a606bd4df4ea3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 229/252] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 7dce902dc8667e5a6026841b7f3e8b1d7d1b1444 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 230/252] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c7c824ec44276838db596097fbb690c0ca1b9f9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 231/252] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From fa5cbb2c9fb18324c0b8ea77f29675d1bf972b02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 232/252] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From ab49cfefcce3fce01dff32029f20604b9d69b5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 233/252] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 8ca8588f1e39c2a9862fc1045e8a7fa653e388bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 234/252] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From e476ec52b5e876a208feda639e79314ad17d033b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 235/252] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 002883f4289b8c5763de6e55bce2229e1947462a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 236/252] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From f4af0a8f298b4943c4e089b88288406d0bb01af2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 237/252] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a1b4d43fdb4b2aaee52032ba3499c47f31dc03aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 238/252] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 9da3c59ffda5b7b92150c55396702ec21eafa218 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 239/252] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 5f0a233dd285230f07132ec917ed07f2b5c4fddb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 240/252] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 85e6f0a44988ad057e0a361e044785cb3f44dc47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 241/252] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 24a65bad18ce6a412ed9ca46d5e9504636a47fc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 242/252] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 286e6c3f7b908bef347192da3867d6d8cf2f32ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 243/252] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 7b7752aa374d882c090534e9c8c6a68d8ab32285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 244/252] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From bd18ca0669bdb3c0f4b3db7a4a61b6d57d84617d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 245/252] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From 8ef2a90cc10d44685632b98b8a3d1e905af0b280 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 246/252] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 92195ac400d76c6683dd75e7a44536a46c6093b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:22:46 +0200
Subject: [PATCH 247/252] xine-lib: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xine-lib/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template
index b4801c25561..147eb7d5ade 100644
--- a/srcpkgs/xine-lib/template
+++ b/srcpkgs/xine-lib/template
@@ -28,6 +28,8 @@ case "$XBPS_TARGET_MACHINE" in
 	i686*|x86_64*|ppc64*) makedepends+=" libva-glx-devel libvdpau-devel glu-devel";;
 esac
 
+CFLAGS="-fcommon"
+
 libxine_package() {
 	short_desc+=" - runtime library"
 	pkg_install() {

From bda198cbfdd6f4af58fcd95f3ad5f51404cf1693 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 248/252] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 900369add958d88f751cfb51fb45075458406623 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 249/252] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From e48a03dcf7d9dc33e0dd7e322a87da633b9d472e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 250/252] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 87cec2d15dcb3de397194d6aa309c90a9326d3e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 251/252] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From c732050a6bd8744c9efb21bd7307d803167c578c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 252/252] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (37 preceding siblings ...)
  2020-08-19 15:20 ` pullmoll
@ 2020-08-20 19:05 ` pullmoll
  2020-08-21 10:46 ` pullmoll
                   ` (14 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-20 19:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
This is a first batch of what I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 243519 bytes --]

From bb807485760867124a07752ddaa31dbd485f268d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/252] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 083e5f9d8e158c0fe5154c08a44fba79d7b17b9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/252] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From ba818a6e55c3b86b463caedbca271981a07d074d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/252] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 40788e7969dac8b16024790920fcb9ee2393a131 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/252] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a0fd807eec98148971744f70fbf32a1bb907374a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/252] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From e5d7374a483b2aa11d6bd7153b51915792844007 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/252] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 9aacf62c9ef8866b080ea82374bc4eb7b9cc760a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/252] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7eabb871d0c3649d471a34e773b74e699c95e74d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/252] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 392b615ecb46ca34863a3d15aefb80d8db06461f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/252] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From bd80533a9855c5e792905614c972c3cd1507927e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/252] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index b9136364a05..f00b0c37fe6 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS+=" -latomic"

From 46684974d0d5d8c60ab3cfe8e6aa7bd62986143a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/252] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 570089a19d847207d29f82e3ee3cf8b4cb23029b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/252] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 44998e412c523a3c0ae336e2a5ea414a987f3e11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/252] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 75258849c0514c247897a8946b16458b7e908041 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/252] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 02801afbad7cf010bcc69a1a01505304921b8879 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/252] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 4f638da12cf302a91149621ec2447c561e8183fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/252] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 2c3898fad3f2492388ddac2f86b1d71b117c94cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/252] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 419ab39456bc4ba6a30920a39d216ea636e44f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/252] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c2b3201614a2b3382832fbd44af18556011d0f46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/252] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 175304017e59d71c29af5d50d70730ac4672e9d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/252] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 69b6e84a9eb3e4b0b59472e23f1b8d5cff5bafb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/252] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c1044ec23fcb939bfb2496be7fe0c1c5b92ae780 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/252] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From baf7c02e11b36421a6299d8da33f4083d00e5cb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/252] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From bb53280fa0d526e5ad66a409900b41a64bd0fdca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/252] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b0c55bc8a111e074b1c4231fdd4b3f9a2eacabb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/252] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 43ae7d76a90d6072de9c42b235e4b105c87bd3c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/252] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 683684bd43a7018af97cdab49f0a846fb73db7b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/252] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From b6f80d09aa2134688f2a809788d9f4ef653d6a84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/252] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From eed5120ec6c09018d93ee1498ffe6654b22923c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/252] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From d82163529fe9ff73cab161c741b8e25c033fbdab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/252] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From db3b751e7be442e5c0b776454d0589bc56efdce1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/252] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 2130bf78402db37988044abba3f5aabbda6edfb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/252] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From 07be527c0703475d954a6e3069d909b81cdf2816 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/252] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From e44883b6f7544d61a83e0318fffa01d1f67fac36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/252] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 43e6b4d9510c7b460de3e9d18d5b1537f169a0dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/252] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cc1473f5d6987310782a8a2f62f9626010c4f7b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/252] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3cf665dff43eabc093ef7bd430e23c5a6c6af056 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/252] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 14624fc70b4e3511a0e1604ed4ba2d805fd2975f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/252] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 32e189aa30cdb4c0d51a282ebe725989d02f587c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/252] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From a3bf81cc3bea83df876e046446c5366195a00e86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/252] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d5651ed8afd45e6120fc63fe78950dcb704c80a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/252] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 1305848e6342a3d711621d363c011148356bf203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/252] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 5647a256d9d7e6861365fe0a81dbf2ad5d2f2d76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/252] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 2e1a6d2c5d43ff18d7bac522cadef4e188de8dbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/252] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 4502b3d66f67ac43d4f781b386e09cba44e8b418 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/252] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 831b5d1b7639f45196fe60d9e99e2631b7e9b7c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/252] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From c19171c2abee56a26be50be50077f067aadab5a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/252] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 7351d04fd766e908df7965c14e0d524edbe55ac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/252] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 49b9fc8ee7239f1ca232255cc4ae4814b694fa01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/252] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From cdc93ca990504dd14029b49e5f5d39aaa29abc61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/252] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 63cf093209e80224f85e0ddbeb8af00b87779d84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/252] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 7848fc4aef44596388b6c214b9ded051187c8838 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/252] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 239c1c25a6df74e7baef2d4ad4f5f515efa35608 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/252] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 834fdec1910635de1d38ef27ec7b2adf3bc52541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/252] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From b3cb54864d21d3f7e838a582d8740563521307cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/252] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index ce544bcabc2..fd3291effda 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From f2856313f41a84a4ec0095bc0e776e45deaa929a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/252] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 66ef85a4c7e7671e58bda61cd07abb3232a15fa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/252] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From de6419fbdb527d968f96598b77862fb3f9f6d38d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/252] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 9d00fa51d65a235caa64c913b7ec3d2287392109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/252] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From 7a048d6e1f05bba3361613dd09a8ecf887f93f1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/252] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 4bb9fc68411cc91a7dd970f7b504be65c51a4da0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/252] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From c6d800974beb2188f5575b6e3da52a860e19b3fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/252] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From eadca95a858ff15a42a39980b34271b4f9be9b51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/252] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From aa9779cc8e68381f61e5bf887ee347a8b1236fd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/252] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 79523ad5f976e7ee53135dfd42c9707fd922bf13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/252] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From efa20861cbb5820ad04dedd9c1f3f45528a4ed85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/252] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From f67b87d1df6207deb38f2dbc4908c069f7cc955d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/252] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 152680719643e1ed46bbbcbb3d94d7a63e697e08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/252] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From ba4edb7f0378ae6a8e3409b0d53193350b9720a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/252] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 938d55a720474ddccd97a3d2acfb12a8ff688590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/252] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From c9fb80d0bc52e095f372a46f1bbe232365ad072f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/252] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From a8b5954368350a26b7c87d9fcb04a4b6ddd56ff3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/252] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 382615d2a96f1e26de67a4445e27d52ff99ec274 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/252] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 61e3184b69458ffeebdd858f23b910e714d35c4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/252] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From 26b0bdfb03189b6ac347e6ffb7a826ecc4261279 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/252] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From a25a144c354c825d7929ea49abe9325bf9c94197 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/252] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From be7e463a9a9e03274bd8086724516f827c4a5a08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/252] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 593659488878ff21467fab70486f0938a542302e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/252] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From eef75778a24e7e4b1380f58a43fb0359da654d13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/252] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From cc8931d3ab4fce09eb7bef2ce364fa7148f23e71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/252] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 292a59017e8df75e3c1af4df38b71b16275df350 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/252] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 5b89f1a5c62f1409ae76e9e013c29991a6d52921 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/252] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From cbc931935917f0a04db1beb3ceb57692eaf1b789 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/252] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From cbfec76f21e71da13d4b6d17acb5e5b810113c4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/252] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b717d5a46fc07ffa4dec64bc4c8d44ad88f2cb99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/252] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 100e2dcc29d7c498eaf74622a3787884b9c0ac2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/252] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From aecb8a772c5959fb4fbf1eb0ee8ba8cb55d6f7b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/252] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 2b38aad205f2a681b74954f354e9ab409444cbfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/252] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From df8623b5235ee8cbfa2d0759f762285a7ec84b94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/252] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From dbf82ea5a566871457c357b141a094fe9c0760d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/252] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From f3f86d88bdb67b7b9a9eb3627616cb5fef3023f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/252] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 30876d73b8983a8eaf238669e89f916d720661c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/252] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From f03b6395e44357492ed43cb0ddceee591e062c43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/252] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 4992639878d7a1aa10c4847484a41defcaf56c31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/252] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f4cf1c146995cd7d4049f7b0a7ca361bf0f28e15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/252] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d03a67dcb45a306c9016ffbaac650d4c9effc725 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/252] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From c905807e88640047ba090417d47a1c7e5a1c753b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/252] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 6ff5b77f5c0c50c70bee3a95065eed961347b161 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/252] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 2f6b3e3bd0644d21fa05b8c6717fad3ca9d61d5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/252] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 1ba0b372e47425997c999becfea50572a32c970f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/252] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 33b247ed0819d1661f4cd50171b8f778430c3fc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/252] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 8ce99f4930924424499b907697440f5582de3777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/252] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 9fa5bcb254fad7eddd7c696ac153558f59e2e9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/252] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From c0b52bfa68bf0e09b89ca6e39a807338a5a2545b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/252] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 47e944ee504f33d50d1d05cdbbc4948eb19e771e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/252] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 3dfa34667b4b7f38d6765bca8a4cd9431ff542c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/252] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From eea4848d79903f2da2bf6cf8a988dcf3f2cd8be5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/252] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 894aa8e92296652b8d9f68753cc822984d375de0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/252] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 49209c10090325e0376ab2ad59bff39d583be622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/252] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3ffaf98c353b27dca570c06c569c4a7ba9d92d71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/252] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 61fd114b49f30c8206eb44bd4d789585c8961b68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/252] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From a03dabba7b7be172141d33d65fbb713c578225cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/252] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 900aa06ba405e19bebabeff9d565273bcb3e8a50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/252] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 8aabafbde4ef23fc7243efd6f133dc62f23b4940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/252] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From e68ed72244a38fb334df6686bd7c8d65a2231e2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/252] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From bf64df68541e86fa1356b729e79a310adcb0ea86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/252] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 1ed03a7affc46cc332945610e1fff6711e87ee19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/252] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 5d933d2d7c783d1bb8e951524af0851371b10c28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 118/252] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From 10b0ad17367a7940cb7af7b3847f6d9597fdaf7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/252] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 051c60fbefc1deab7925629991b5dfbf3187f4e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 120/252] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 98742a77885e2d4f117c0e15618f4fa3e13b9537 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/252] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From fb5f57bef03ced9d0716ce5a62f10751520e2389 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/252] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b2551fb5f9e2716b0ba2eeeae068e70c352daf54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 123/252] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 50b37ec39cc0adc9b4ce4f484f28605871c25d18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/252] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From e043447377941513e9a18273495f83d9fbd7a116 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/252] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8d499535d89fdd8dbd58126fbcd99704fb87759a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/252] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From f1ada02879a213d1b6e221dbbe8184fb53adf8a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/252] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 9622d2675737c924f66f85fcc696b8e3368192aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 128/252] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 13c86b1d711f031c2a5da09ded35830d7f00119d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/252] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b0546ff8003571c3fd1afb44af8a546f0624b49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 130/252] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From 60676fd36bbe77e171ff055f52d5e28369bda7b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/252] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 56f3f5e5a4f0f9376792d770f9b224f08bf15013 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/252] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 15ba70a4f3151e87b604feeca6ac5ec4f574e62b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/252] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From b1fa1cf1ccaa6d694607d5c296f888fca4a94753 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 134/252] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 48dc06c3ba349b5f1325afbc33394283b5b58a2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 135/252] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From 107b57c2543d6f5778eac6c2262ffcfa742b6ae6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/252] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From a683519509ff874b5fdb6e45a138f01d985bf7a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/252] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 78a31fb283b9a4a04b97e277076b7a634a91e30d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/252] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 0ad4c101df0e8a37fb068b83e957eea1197ad1e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/252] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From dd2429f0741f77327c8975f1e99b00099a826839 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/252] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 51599a763bec292f22d1f5ab3c53f5a3c363250d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 141/252] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b8188e9541c84e4246eb77e2c3e5c8e07c85e17d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/252] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 2097ea9c4820520ab5d84235d38b133aef23c6dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/252] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f28e3432983ff2065389a6be3cee0f724ea8ad45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/252] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 331323e88ae13cf8bc6ce5a37f1313a7fbdb8335 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/252] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From e15d884697f33644d78d174f6d0a532d862f830d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/252] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 0ee7772f72135e106948fb6e35e07e157a3298d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 147/252] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 07832e4126cae9319226e54f108bc354dc525815 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/252] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From e4672c2a943e6598b900099826e8c1d933446dcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/252] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 50c52889de6bda58b5a8b07f20bc8003657c4e1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 150/252] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 3b771024fa3f3de17c494c640b76b77459f31500 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/252] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From a1cac0e7ed2e85884409d5d8be5d6da7e2a56adf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 152/252] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 28f851369e184b424420c2280ce76337142cd49f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/252] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 5013968db10d436ca0802a13555dd3d8df9b9d75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 154/252] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From e81d9b5abed22d40f3fb3e8d7b647f09d51b335c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/252] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6548e5cbaba35c07394d4e4749f5f1335a4224a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 156/252] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 83049a8e1e8d728f75305e0ef30ac4e89ef8d223 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/252] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 3c6577b53f3842ad721d82549bd0678f0c1e7397 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/252] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From e41ed89f217ef6d3a6df1c96fdf58b57c6382578 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 159/252] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 52c5fc21d9957688d3529e87448f83dcfd643465 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 160/252] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From f82a69e453911e1a2e02186feda9bd88d528e7d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 161/252] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 80a657e7967487873778bc978510aa58b06a1ecf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 162/252] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 17cb3ea206a3d1ec0a268b3b913a0f92732e4848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 163/252] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 59efbafc49a32c060cccb9f16fc523e585dad55d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 164/252] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 43e9fe6c6ff1e4f9f17001f1ca9c9b580b8ca073 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/252] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ee044e5b1a8093ff8872124400a5fcd3c00ba648 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/252] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From e26c93a790fc483022cfc33c4cb6d0a209c14cc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/252] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 6823ec3f946ded12a0e0ba299f66fec8ba3a8f6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/252] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From cb7940188022306350746f3cf985652eddcab2c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 169/252] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 69e3d4e5bdabbb12cb21eb963bd34ff7d5079225 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 170/252] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From ce64ec2d000482fad1da79b0174db527f96a484a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/252] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 02d691647e8d30caf47b5763f544ff2877acf5eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/252] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 732e5dd716af7ac2c440d715ab6c5290396e3359 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/252] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 608204a78a4f337e05eba627a9dcf84feb6d08a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/252] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 0c7e7c2f28680df4482ba18d39ddcd95cdc96e10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 175/252] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a5a45bdf005ecb572ab12cd6d5b4cf04b030484c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/252] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 594c153618364b745c6384a85ccff217aa78f6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/252] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From f7a1c210317f12a9a9860b713914084121991f06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/252] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 1e1d6fe276a786e4c6a224619ef2b53adcc09bf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/252] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 147389bb0ff5b31a44cf740e408e787813ecce97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/252] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 0daf4421d5484d50fb742efa92e74a4942b26c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 181/252] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 384775ebe8f6d928dff82b538849426a07cae140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 182/252] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From f0ad0ed7a3c7652c434bd63d275af72bcfb1a772 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 183/252] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 39980dc6ee30f6aafeaa15ee068499e9e2d7f21d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/252] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 7091ad7060f71a884bda88b77b7ddd5f6817a70e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/252] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 145905c787d7d1c2184098787a9aa279f71c9cdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/252] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 8035173f0acac2afa7cac35498d65fc4fea3a49a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 187/252] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From b344ec69761db395d13bdd5576bac0f900427803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/252] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 3f7004cc7b6630d2639f760c5a0d33b08c792118 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 189/252] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 9e9171d07acb72efd2bc844c5335dfad1649e6b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 190/252] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 0f9c27a1c62e7228209e84a3f721520d1b1409bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/252] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 5d49efd8f68e2090753a95e5368b402148c460f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/252] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 2412d9eb47797a91d48bbc4598d76392daf76ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 193/252] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 0d2cc9413b25fc912ca0a11e2c9ef1dc83a5b7e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 194/252] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From 241b40ca526dd942cea4403a6816016419a9469a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/252] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a48d6ba1b48239173cff74d874435cf0b65ddab2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 196/252] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From c7007186904ada8e1e574a6b5c1077c2fdc963df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 197/252] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From e4364de51351bf1dca94a785f89874e5d05d0972 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 198/252] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 073308fa86fe538b4e7e7fcf37e64cd6cd30ede5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 199/252] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From c06df397d262b7ae85f1dbba14cf9471cb93b4e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/252] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From eefd2f16ef157b605c1e019d8022160bb6d3e12b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 201/252] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 7227c57ef5c854175162eeeef59dde4028c24b1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 202/252] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From b75fc10bc866354b77e3bc00ba3a683f857042f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/252] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 3584e849c36acacf00ef88fc689ac8bc09419414 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/252] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 636fa06d54d0848a972f0554f2f8470164708566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/252] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 989fd9a7df2dd310e9ed0a3f2246cd7c7c40d777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 206/252] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5fbde2c6214603e8381ffe264a404937081603a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/252] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From c755b989f8b8c65a971c007320c7fba943401d7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 208/252] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 39fc5fdc53aba7db8c3af527f8adeefc32032590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 209/252] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From d2ecd0b44625900d4b906cd93f58533c076afebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 210/252] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From bafcafa62c311cb1845c0bff40b75a68d642fb13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/252] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From bb8d0f6b5658680aa21307dd6f48c5dbb587d697 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 212/252] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 50bd2778ce88ab53ec7208d4f9328a79590ef657 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 213/252] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 1e2ea69939e659c526194a7ed50f1e1137ea10c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/252] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5347f20bf7ea55085024f40bb04e107a37795437 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/252] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 3c666de83c2a0097050e5ad702a9bc0aa211ed1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 216/252] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 810b2ca138a8c68e35a3a07ad2606c9c02304475 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 217/252] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From c85158681b11f48f57531b53645197cbc53da98e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 218/252] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From ffb46a0e81b4399a03e35b9ba0e3ac208a8d1339 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 219/252] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6da3ead2a6666b20e3910eac21e1b1c5c458b688 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 220/252] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From d0cf30a2801314cd81d9566f5837bdd2ae4f8fa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 221/252] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 1aaade54e3141c1f337bc05599fee9a4361f781f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 222/252] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 0605bacdfca686d1a5c8fcf47c2b3d31343fc566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 223/252] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From b4fa275e916be0011598b059a888815d62eb2cb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 224/252] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 60e5e3f9dc5566563ab33a2caaff4095eab9ba88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 225/252] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From d88d6aa5dce4ca10c4e87875fec930960778644a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 226/252] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From b5a0755c0f030bcd9c01b6bdbe5a5a91ddaee6a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 227/252] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 8deab00f177a7c903580e712c58c68ca70f75e07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 228/252] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 2c2981b3fb83f9f21360dd99f3d309bf864e356b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 229/252] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From cdbd860695310b1d41ed65745a7750aa29d18675 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 230/252] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From ea49c9049f19aef361529cbc8a6f4ce4fc872374 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 231/252] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 50a057be3b2b215ee992c3c92f6746dc1d7d5692 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 232/252] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 21347cee0e71197699129a193d215ab7fa3f535c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 233/252] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From cb9ff878879050d17449e0b85b0dada634385e51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 234/252] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 7b8820d0f197fcc016797b99cffbd2eb1ad27017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 235/252] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 55b6329fab40cd869fa478e84a518cd24054d781 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 236/252] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From b35c535e325cef38e1b6e0112fe227441ac178e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 237/252] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 40eda8d14f7e112ec41483deefb2fbf886449fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 238/252] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From af07d779dfd150712840c2054da9b807509e24ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 239/252] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 777e34020bf3bd259fe22dbb258beb029aaa76ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 240/252] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 7d84519046a1471a1d85ddef30242232e817572b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 241/252] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 27b7da9701d91183109c9992edbfa6bea25dc2c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 242/252] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From dcbb8fbba823867d8d06a730319fe183f270186c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 243/252] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From c919114754d1ff1fccc3d1041a92524cbd9122ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 244/252] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 341660ecb234c2427b5dda1a1c59cd7996121f4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 245/252] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From 049db716e6f2dea0a2aca31d242cac9f31b73699 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 246/252] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 6114e62c6102043731753907ad92d644cbce8211 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:22:46 +0200
Subject: [PATCH 247/252] xine-lib: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xine-lib/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template
index b4801c25561..147eb7d5ade 100644
--- a/srcpkgs/xine-lib/template
+++ b/srcpkgs/xine-lib/template
@@ -28,6 +28,8 @@ case "$XBPS_TARGET_MACHINE" in
 	i686*|x86_64*|ppc64*) makedepends+=" libva-glx-devel libvdpau-devel glu-devel";;
 esac
 
+CFLAGS="-fcommon"
+
 libxine_package() {
 	short_desc+=" - runtime library"
 	pkg_install() {

From f09b1bc2d6fbce78eee787db5dc2e600d1edf965 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 248/252] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 646b96496c9a8efd5e24539c927c9e61f0272efe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 249/252] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 756bfb73fc00a0fad262d1d4f2e75211b453d400 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 250/252] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 315f51594bb8f474a863e72fc34d04496adda60a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 251/252] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 7154db434d7fa554300c3715b305bed1190ecbbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 252/252] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (38 preceding siblings ...)
  2020-08-20 19:05 ` pullmoll
@ 2020-08-21 10:46 ` pullmoll
  2020-08-22 11:20 ` [PR PATCH] [Updated] " pullmoll
                   ` (13 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-21 10:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/24334#issuecomment-678223063

Comment:
If some of you would review this PR I think it could be merged any time because gcc-9.3.0 already understands `-fcommon`.

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (39 preceding siblings ...)
  2020-08-21 10:46 ` pullmoll
@ 2020-08-22 11:20 ` pullmoll
  2020-08-22 11:41 ` pullmoll
                   ` (12 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-22 11:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 244961 bytes --]

From bb807485760867124a07752ddaa31dbd485f268d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/253] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 083e5f9d8e158c0fe5154c08a44fba79d7b17b9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/253] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From ba818a6e55c3b86b463caedbca271981a07d074d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/253] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 40788e7969dac8b16024790920fcb9ee2393a131 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/253] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a0fd807eec98148971744f70fbf32a1bb907374a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/253] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From e5d7374a483b2aa11d6bd7153b51915792844007 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/253] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 9aacf62c9ef8866b080ea82374bc4eb7b9cc760a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/253] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7eabb871d0c3649d471a34e773b74e699c95e74d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/253] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 392b615ecb46ca34863a3d15aefb80d8db06461f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/253] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From bd80533a9855c5e792905614c972c3cd1507927e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/253] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index b9136364a05..f00b0c37fe6 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS+=" -latomic"

From 46684974d0d5d8c60ab3cfe8e6aa7bd62986143a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/253] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 570089a19d847207d29f82e3ee3cf8b4cb23029b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/253] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 44998e412c523a3c0ae336e2a5ea414a987f3e11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/253] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 75258849c0514c247897a8946b16458b7e908041 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/253] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 02801afbad7cf010bcc69a1a01505304921b8879 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/253] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 4f638da12cf302a91149621ec2447c561e8183fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/253] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 2c3898fad3f2492388ddac2f86b1d71b117c94cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/253] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 419ab39456bc4ba6a30920a39d216ea636e44f97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/253] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c2b3201614a2b3382832fbd44af18556011d0f46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/253] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 175304017e59d71c29af5d50d70730ac4672e9d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/253] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 69b6e84a9eb3e4b0b59472e23f1b8d5cff5bafb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/253] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c1044ec23fcb939bfb2496be7fe0c1c5b92ae780 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/253] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From baf7c02e11b36421a6299d8da33f4083d00e5cb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/253] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From bb53280fa0d526e5ad66a409900b41a64bd0fdca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/253] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b0c55bc8a111e074b1c4231fdd4b3f9a2eacabb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/253] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 43ae7d76a90d6072de9c42b235e4b105c87bd3c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/253] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 683684bd43a7018af97cdab49f0a846fb73db7b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/253] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From b6f80d09aa2134688f2a809788d9f4ef653d6a84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/253] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From eed5120ec6c09018d93ee1498ffe6654b22923c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/253] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From d82163529fe9ff73cab161c741b8e25c033fbdab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/253] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From db3b751e7be442e5c0b776454d0589bc56efdce1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/253] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 2130bf78402db37988044abba3f5aabbda6edfb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/253] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From 07be527c0703475d954a6e3069d909b81cdf2816 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/253] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From e44883b6f7544d61a83e0318fffa01d1f67fac36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/253] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 43e6b4d9510c7b460de3e9d18d5b1537f169a0dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/253] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cc1473f5d6987310782a8a2f62f9626010c4f7b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/253] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3cf665dff43eabc093ef7bd430e23c5a6c6af056 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/253] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 14624fc70b4e3511a0e1604ed4ba2d805fd2975f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/253] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 32e189aa30cdb4c0d51a282ebe725989d02f587c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/253] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From a3bf81cc3bea83df876e046446c5366195a00e86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/253] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d5651ed8afd45e6120fc63fe78950dcb704c80a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/253] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 1305848e6342a3d711621d363c011148356bf203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/253] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 5647a256d9d7e6861365fe0a81dbf2ad5d2f2d76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/253] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 2e1a6d2c5d43ff18d7bac522cadef4e188de8dbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/253] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 4502b3d66f67ac43d4f781b386e09cba44e8b418 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/253] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 831b5d1b7639f45196fe60d9e99e2631b7e9b7c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/253] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From c19171c2abee56a26be50be50077f067aadab5a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/253] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 7351d04fd766e908df7965c14e0d524edbe55ac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/253] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 49b9fc8ee7239f1ca232255cc4ae4814b694fa01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/253] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From cdc93ca990504dd14029b49e5f5d39aaa29abc61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/253] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 63cf093209e80224f85e0ddbeb8af00b87779d84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/253] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 7848fc4aef44596388b6c214b9ded051187c8838 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/253] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 239c1c25a6df74e7baef2d4ad4f5f515efa35608 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/253] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 834fdec1910635de1d38ef27ec7b2adf3bc52541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/253] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From b3cb54864d21d3f7e838a582d8740563521307cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/253] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index ce544bcabc2..fd3291effda 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From f2856313f41a84a4ec0095bc0e776e45deaa929a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/253] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 66ef85a4c7e7671e58bda61cd07abb3232a15fa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/253] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From de6419fbdb527d968f96598b77862fb3f9f6d38d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/253] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 9d00fa51d65a235caa64c913b7ec3d2287392109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/253] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From 7a048d6e1f05bba3361613dd09a8ecf887f93f1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/253] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 4bb9fc68411cc91a7dd970f7b504be65c51a4da0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/253] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From c6d800974beb2188f5575b6e3da52a860e19b3fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/253] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From eadca95a858ff15a42a39980b34271b4f9be9b51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/253] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From aa9779cc8e68381f61e5bf887ee347a8b1236fd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/253] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 79523ad5f976e7ee53135dfd42c9707fd922bf13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/253] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From efa20861cbb5820ad04dedd9c1f3f45528a4ed85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/253] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From f67b87d1df6207deb38f2dbc4908c069f7cc955d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/253] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 152680719643e1ed46bbbcbb3d94d7a63e697e08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/253] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From ba4edb7f0378ae6a8e3409b0d53193350b9720a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/253] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 938d55a720474ddccd97a3d2acfb12a8ff688590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/253] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From c9fb80d0bc52e095f372a46f1bbe232365ad072f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/253] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From a8b5954368350a26b7c87d9fcb04a4b6ddd56ff3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/253] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 382615d2a96f1e26de67a4445e27d52ff99ec274 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/253] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 61e3184b69458ffeebdd858f23b910e714d35c4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/253] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From 26b0bdfb03189b6ac347e6ffb7a826ecc4261279 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/253] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From a25a144c354c825d7929ea49abe9325bf9c94197 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/253] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From be7e463a9a9e03274bd8086724516f827c4a5a08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/253] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 593659488878ff21467fab70486f0938a542302e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/253] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From eef75778a24e7e4b1380f58a43fb0359da654d13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/253] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From cc8931d3ab4fce09eb7bef2ce364fa7148f23e71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/253] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 292a59017e8df75e3c1af4df38b71b16275df350 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/253] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 5b89f1a5c62f1409ae76e9e013c29991a6d52921 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/253] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From cbc931935917f0a04db1beb3ceb57692eaf1b789 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/253] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From cbfec76f21e71da13d4b6d17acb5e5b810113c4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/253] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b717d5a46fc07ffa4dec64bc4c8d44ad88f2cb99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/253] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 100e2dcc29d7c498eaf74622a3787884b9c0ac2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/253] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From aecb8a772c5959fb4fbf1eb0ee8ba8cb55d6f7b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/253] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 2b38aad205f2a681b74954f354e9ab409444cbfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/253] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From df8623b5235ee8cbfa2d0759f762285a7ec84b94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/253] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From dbf82ea5a566871457c357b141a094fe9c0760d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/253] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From f3f86d88bdb67b7b9a9eb3627616cb5fef3023f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/253] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 30876d73b8983a8eaf238669e89f916d720661c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/253] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From f03b6395e44357492ed43cb0ddceee591e062c43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/253] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 4992639878d7a1aa10c4847484a41defcaf56c31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/253] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From f4cf1c146995cd7d4049f7b0a7ca361bf0f28e15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/253] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From d03a67dcb45a306c9016ffbaac650d4c9effc725 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/253] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From c905807e88640047ba090417d47a1c7e5a1c753b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/253] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 6ff5b77f5c0c50c70bee3a95065eed961347b161 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/253] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 2f6b3e3bd0644d21fa05b8c6717fad3ca9d61d5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/253] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 1ba0b372e47425997c999becfea50572a32c970f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/253] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 33b247ed0819d1661f4cd50171b8f778430c3fc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/253] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 8ce99f4930924424499b907697440f5582de3777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/253] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index 0bc62f06fb7..2b2a2ef4039 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 9fa5bcb254fad7eddd7c696ac153558f59e2e9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/253] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From c0b52bfa68bf0e09b89ca6e39a807338a5a2545b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/253] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 47e944ee504f33d50d1d05cdbbc4948eb19e771e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/253] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 3dfa34667b4b7f38d6765bca8a4cd9431ff542c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/253] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From eea4848d79903f2da2bf6cf8a988dcf3f2cd8be5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/253] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 894aa8e92296652b8d9f68753cc822984d375de0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/253] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 49209c10090325e0376ab2ad59bff39d583be622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/253] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 3ffaf98c353b27dca570c06c569c4a7ba9d92d71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/253] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 61fd114b49f30c8206eb44bd4d789585c8961b68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/253] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From a03dabba7b7be172141d33d65fbb713c578225cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/253] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 900aa06ba405e19bebabeff9d565273bcb3e8a50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/253] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 8aabafbde4ef23fc7243efd6f133dc62f23b4940 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/253] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From e68ed72244a38fb334df6686bd7c8d65a2231e2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/253] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From bf64df68541e86fa1356b729e79a310adcb0ea86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/253] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 1ed03a7affc46cc332945610e1fff6711e87ee19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/253] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 5d933d2d7c783d1bb8e951524af0851371b10c28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 118/253] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From 10b0ad17367a7940cb7af7b3847f6d9597fdaf7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/253] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 051c60fbefc1deab7925629991b5dfbf3187f4e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 120/253] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 98742a77885e2d4f117c0e15618f4fa3e13b9537 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/253] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From fb5f57bef03ced9d0716ce5a62f10751520e2389 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/253] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b2551fb5f9e2716b0ba2eeeae068e70c352daf54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 123/253] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 50b37ec39cc0adc9b4ce4f484f28605871c25d18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/253] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From e043447377941513e9a18273495f83d9fbd7a116 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/253] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8d499535d89fdd8dbd58126fbcd99704fb87759a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/253] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From f1ada02879a213d1b6e221dbbe8184fb53adf8a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/253] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 9622d2675737c924f66f85fcc696b8e3368192aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 128/253] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 13c86b1d711f031c2a5da09ded35830d7f00119d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/253] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b0546ff8003571c3fd1afb44af8a546f0624b49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 130/253] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From 60676fd36bbe77e171ff055f52d5e28369bda7b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/253] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 56f3f5e5a4f0f9376792d770f9b224f08bf15013 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/253] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 15ba70a4f3151e87b604feeca6ac5ec4f574e62b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/253] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From b1fa1cf1ccaa6d694607d5c296f888fca4a94753 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 134/253] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 48dc06c3ba349b5f1325afbc33394283b5b58a2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 135/253] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From 107b57c2543d6f5778eac6c2262ffcfa742b6ae6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/253] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From a683519509ff874b5fdb6e45a138f01d985bf7a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/253] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 78a31fb283b9a4a04b97e277076b7a634a91e30d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/253] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 0ad4c101df0e8a37fb068b83e957eea1197ad1e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/253] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From dd2429f0741f77327c8975f1e99b00099a826839 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/253] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 51599a763bec292f22d1f5ab3c53f5a3c363250d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 141/253] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b8188e9541c84e4246eb77e2c3e5c8e07c85e17d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/253] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 2097ea9c4820520ab5d84235d38b133aef23c6dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/253] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From f28e3432983ff2065389a6be3cee0f724ea8ad45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/253] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 331323e88ae13cf8bc6ce5a37f1313a7fbdb8335 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/253] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From e15d884697f33644d78d174f6d0a532d862f830d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/253] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 0ee7772f72135e106948fb6e35e07e157a3298d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 147/253] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 07832e4126cae9319226e54f108bc354dc525815 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/253] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From e4672c2a943e6598b900099826e8c1d933446dcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/253] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 50c52889de6bda58b5a8b07f20bc8003657c4e1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 150/253] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 3b771024fa3f3de17c494c640b76b77459f31500 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/253] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From a1cac0e7ed2e85884409d5d8be5d6da7e2a56adf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 152/253] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 28f851369e184b424420c2280ce76337142cd49f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/253] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 5013968db10d436ca0802a13555dd3d8df9b9d75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 154/253] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From e81d9b5abed22d40f3fb3e8d7b647f09d51b335c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/253] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From 6548e5cbaba35c07394d4e4749f5f1335a4224a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 156/253] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 83049a8e1e8d728f75305e0ef30ac4e89ef8d223 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/253] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 3c6577b53f3842ad721d82549bd0678f0c1e7397 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/253] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From e41ed89f217ef6d3a6df1c96fdf58b57c6382578 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 159/253] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 52c5fc21d9957688d3529e87448f83dcfd643465 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 160/253] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From f82a69e453911e1a2e02186feda9bd88d528e7d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 161/253] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 80a657e7967487873778bc978510aa58b06a1ecf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 162/253] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 17cb3ea206a3d1ec0a268b3b913a0f92732e4848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 163/253] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 59efbafc49a32c060cccb9f16fc523e585dad55d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 164/253] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 43e9fe6c6ff1e4f9f17001f1ca9c9b580b8ca073 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/253] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ee044e5b1a8093ff8872124400a5fcd3c00ba648 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/253] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From e26c93a790fc483022cfc33c4cb6d0a209c14cc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/253] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 6823ec3f946ded12a0e0ba299f66fec8ba3a8f6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/253] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From cb7940188022306350746f3cf985652eddcab2c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 169/253] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 69e3d4e5bdabbb12cb21eb963bd34ff7d5079225 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 170/253] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From ce64ec2d000482fad1da79b0174db527f96a484a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/253] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 02d691647e8d30caf47b5763f544ff2877acf5eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/253] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 732e5dd716af7ac2c440d715ab6c5290396e3359 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/253] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 608204a78a4f337e05eba627a9dcf84feb6d08a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/253] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 0c7e7c2f28680df4482ba18d39ddcd95cdc96e10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 175/253] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a5a45bdf005ecb572ab12cd6d5b4cf04b030484c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/253] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 594c153618364b745c6384a85ccff217aa78f6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/253] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From f7a1c210317f12a9a9860b713914084121991f06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/253] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 1e1d6fe276a786e4c6a224619ef2b53adcc09bf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/253] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 147389bb0ff5b31a44cf740e408e787813ecce97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/253] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 0daf4421d5484d50fb742efa92e74a4942b26c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 181/253] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 384775ebe8f6d928dff82b538849426a07cae140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 182/253] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From f0ad0ed7a3c7652c434bd63d275af72bcfb1a772 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 183/253] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 39980dc6ee30f6aafeaa15ee068499e9e2d7f21d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/253] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 7091ad7060f71a884bda88b77b7ddd5f6817a70e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/253] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 145905c787d7d1c2184098787a9aa279f71c9cdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/253] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 8035173f0acac2afa7cac35498d65fc4fea3a49a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 187/253] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From b344ec69761db395d13bdd5576bac0f900427803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/253] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 3f7004cc7b6630d2639f760c5a0d33b08c792118 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 189/253] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 9e9171d07acb72efd2bc844c5335dfad1649e6b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 190/253] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 0f9c27a1c62e7228209e84a3f721520d1b1409bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/253] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 5d49efd8f68e2090753a95e5368b402148c460f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/253] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 2412d9eb47797a91d48bbc4598d76392daf76ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 193/253] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 0d2cc9413b25fc912ca0a11e2c9ef1dc83a5b7e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 194/253] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From 241b40ca526dd942cea4403a6816016419a9469a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/253] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From a48d6ba1b48239173cff74d874435cf0b65ddab2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 196/253] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From c7007186904ada8e1e574a6b5c1077c2fdc963df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 197/253] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From e4364de51351bf1dca94a785f89874e5d05d0972 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 198/253] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 073308fa86fe538b4e7e7fcf37e64cd6cd30ede5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 199/253] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From c06df397d262b7ae85f1dbba14cf9471cb93b4e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/253] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From eefd2f16ef157b605c1e019d8022160bb6d3e12b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 201/253] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 7227c57ef5c854175162eeeef59dde4028c24b1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 202/253] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From b75fc10bc866354b77e3bc00ba3a683f857042f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/253] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 3584e849c36acacf00ef88fc689ac8bc09419414 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/253] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 636fa06d54d0848a972f0554f2f8470164708566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/253] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index 37bfb2383f6..f70489ee956 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -17,6 +17,8 @@ alternatives="
  tftp:tftp:/usr/bin/${pkgname}
  tftp:tftp.1:/usr/share/man/man1/${pkgname}.1"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 989fd9a7df2dd310e9ed0a3f2246cd7c7c40d777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 206/253] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5fbde2c6214603e8381ffe264a404937081603a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/253] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From c755b989f8b8c65a971c007320c7fba943401d7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 208/253] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 39fc5fdc53aba7db8c3af527f8adeefc32032590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 209/253] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From d2ecd0b44625900d4b906cd93f58533c076afebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 210/253] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From bafcafa62c311cb1845c0bff40b75a68d642fb13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/253] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From bb8d0f6b5658680aa21307dd6f48c5dbb587d697 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 212/253] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 50bd2778ce88ab53ec7208d4f9328a79590ef657 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 213/253] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 1e2ea69939e659c526194a7ed50f1e1137ea10c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/253] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 5347f20bf7ea55085024f40bb04e107a37795437 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/253] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 3c666de83c2a0097050e5ad702a9bc0aa211ed1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 216/253] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 810b2ca138a8c68e35a3a07ad2606c9c02304475 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 217/253] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From c85158681b11f48f57531b53645197cbc53da98e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 218/253] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From ffb46a0e81b4399a03e35b9ba0e3ac208a8d1339 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 219/253] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6da3ead2a6666b20e3910eac21e1b1c5c458b688 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 220/253] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From d0cf30a2801314cd81d9566f5837bdd2ae4f8fa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 221/253] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 1aaade54e3141c1f337bc05599fee9a4361f781f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 222/253] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 0605bacdfca686d1a5c8fcf47c2b3d31343fc566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 223/253] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From b4fa275e916be0011598b059a888815d62eb2cb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 224/253] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 60e5e3f9dc5566563ab33a2caaff4095eab9ba88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 225/253] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From d88d6aa5dce4ca10c4e87875fec930960778644a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 226/253] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From b5a0755c0f030bcd9c01b6bdbe5a5a91ddaee6a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 227/253] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 8deab00f177a7c903580e712c58c68ca70f75e07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 228/253] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 2c2981b3fb83f9f21360dd99f3d309bf864e356b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 229/253] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From cdbd860695310b1d41ed65745a7750aa29d18675 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 230/253] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From ea49c9049f19aef361529cbc8a6f4ce4fc872374 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 231/253] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 50a057be3b2b215ee992c3c92f6746dc1d7d5692 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 232/253] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 21347cee0e71197699129a193d215ab7fa3f535c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 233/253] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From cb9ff878879050d17449e0b85b0dada634385e51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 234/253] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 7b8820d0f197fcc016797b99cffbd2eb1ad27017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 235/253] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 55b6329fab40cd869fa478e84a518cd24054d781 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 236/253] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From b35c535e325cef38e1b6e0112fe227441ac178e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 237/253] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 40eda8d14f7e112ec41483deefb2fbf886449fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 238/253] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From af07d779dfd150712840c2054da9b807509e24ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 239/253] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 777e34020bf3bd259fe22dbb258beb029aaa76ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 240/253] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 7d84519046a1471a1d85ddef30242232e817572b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 241/253] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 27b7da9701d91183109c9992edbfa6bea25dc2c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 242/253] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From dcbb8fbba823867d8d06a730319fe183f270186c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 243/253] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From c919114754d1ff1fccc3d1041a92524cbd9122ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 244/253] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 341660ecb234c2427b5dda1a1c59cd7996121f4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 245/253] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From 049db716e6f2dea0a2aca31d242cac9f31b73699 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 246/253] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 6114e62c6102043731753907ad92d644cbce8211 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:22:46 +0200
Subject: [PATCH 247/253] xine-lib: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xine-lib/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template
index b4801c25561..147eb7d5ade 100644
--- a/srcpkgs/xine-lib/template
+++ b/srcpkgs/xine-lib/template
@@ -28,6 +28,8 @@ case "$XBPS_TARGET_MACHINE" in
 	i686*|x86_64*|ppc64*) makedepends+=" libva-glx-devel libvdpau-devel glu-devel";;
 esac
 
+CFLAGS="-fcommon"
+
 libxine_package() {
 	short_desc+=" - runtime library"
 	pkg_install() {

From f09b1bc2d6fbce78eee787db5dc2e600d1edf965 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 248/253] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 646b96496c9a8efd5e24539c927c9e61f0272efe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 249/253] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 756bfb73fc00a0fad262d1d4f2e75211b453d400 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 250/253] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 315f51594bb8f474a863e72fc34d04496adda60a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 251/253] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 7154db434d7fa554300c3715b305bed1190ecbbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 252/253] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 7aa9d07a449f7943f23437a84e7ebc4b8816bb37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Sat, 22 Aug 2020 13:22:15 +0200
Subject: [PATCH 253/253] otter-browser: fix build w/ qt5-5.15.0 (QPainterPath)

---
 .../otter-browser/patches/qt5-5.15.0.patch    | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/otter-browser/patches/qt5-5.15.0.patch

diff --git a/srcpkgs/otter-browser/patches/qt5-5.15.0.patch b/srcpkgs/otter-browser/patches/qt5-5.15.0.patch
new file mode 100644
index 00000000000..48ef12b81cb
--- /dev/null
+++ b/srcpkgs/otter-browser/patches/qt5-5.15.0.patch
@@ -0,0 +1,20 @@
+--- src/modules/windows/web/StartPageWidget.cpp	2019-01-01 17:59:01.000000000 +0100
++++ src/modules/windows/web/StartPageWidget.cpp	2020-08-22 13:15:00.552021858 +0200
+@@ -41,6 +41,7 @@
+ #include <QtGui/QGuiApplication>
+ #include <QtGui/QMouseEvent>
+ #include <QtGui/QPainter>
++#include <QtGui/QPainterPath>
+ #include <QtGui/QPixmapCache>
+ #include <QtWidgets/QDesktopWidget>
+ #include <QtWidgets/QGridLayout>
+--- src/modules/backends/web/qtwebkit/QtWebKitPluginWidget.cpp	2019-01-01 17:59:01.000000000 +0100
++++ src/modules/backends/web/qtwebkit/QtWebKitPluginWidget.cpp	2020-08-22 13:15:12.320021389 +0200
+@@ -22,6 +22,7 @@
+ 
+ #include <QtGui/QMouseEvent>
+ #include <QtGui/QPainter>
++#include <QtGui/QPainterPath>
+ 
+ namespace Otter
+ {

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (40 preceding siblings ...)
  2020-08-22 11:20 ` [PR PATCH] [Updated] " pullmoll
@ 2020-08-22 11:41 ` pullmoll
  2020-08-22 15:42 ` pullmoll
                   ` (11 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-22 11:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 243487 bytes --]

From e3e1de3d02ff7c5b4e20d4d1ad7eb4501c4970eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/252] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 6c38835866d706ef04ad29b509ebce28af35a5a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/252] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From bd11ccb6c890a471d9c69a4d34586846aa86eb78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/252] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From ede9929a8041bf7722341b6b98fe0a67b6329db6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/252] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 7d97ea76f6c053d897aa41caf088b540f9a9ae8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/252] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 61936f625cdd39f64802de93d2fa897332556b96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/252] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From e2076c1ddf4efec1083c19c8d958e99b77e807fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/252] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 12be2d182785bf3647fd125d717198b550aea675 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/252] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 40287c06c4e4f01373af9a72c261ea0357c58904 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/252] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From 2fff6eebae9c4c31398d6172c3bba509883d341f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/252] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index 9e2b638d9ef..2e97c411161 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS="-latomic"

From 95be43b6856b011491d025c315e2b6f5f02683e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/252] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From a0c7560c34cb56ccbd704b2e44b8b94abc246513 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/252] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 446b5ae4611520c3ef0fa21155e35d01946105ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/252] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From c79c42f3c7657205b5f35bcd09b296d4691675a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/252] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 5ec5f3d7149e7556cb5369064c176a8eacf9b41d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/252] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 44d40823c37520a1b3d77d87e858c929ba20199d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/252] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 7ccb1cc5e826cfacba94978920d307839c43a4f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/252] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 68caa3a1fe739bfb485fd137493e3ac0c9f75858 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/252] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0f61e89a6fe7671b4ca64ceb13078f39b4d2b05b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/252] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From b63259540e6b8f554b1ab513cd6f8d6e6c849518 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/252] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ea7993ae2be4949d3daf2e5b47578e39d43ce612 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/252] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From c526066890af8c0489b5121743abe14c0e098e69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/252] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 14d0ef57ab37ed0e39d01c7f3099dc52e380977d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/252] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 032cd3c9584f8de2d85955a9251b9c5127d448e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/252] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From dedac9dd203708bbf5bbccf955bf73559bda34eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/252] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From c4ead30c641d7ec079e76f723209e539cc22f9be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/252] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 08d4e30972446425c1a7afe7c35142d291202734 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/252] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 431ac75d52a02c345a943444feb6695d65761841 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/252] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From f2e3f1fef099fe0c935bd69754d7202fd052479a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/252] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From ecb1d19dac1d12ad268a938676b3dfd7afd01109 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/252] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 39958cb760d4a9ab96f00f3a07c123fe63040417 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/252] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From a6a919c29e5ee1e67b4644b1c2da708721e8b0b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/252] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From d64659c73a076daa9d7a681d2f9494070c48f8e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/252] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From bb7966069c56d1cf1d1855d8f1e6fdc7dfbfabe4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/252] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From cac1625b44ba94084db7d578a178a626de491747 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/252] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 55785d54a860eff7802847b5e83d7529ca5273db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/252] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 355804c3620efa1c3a9d9a38b393b0c9dbcf681b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/252] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 1e6c03b5e4c4bc19ecbabf5c1183d642d8258169 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/252] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 2c2cf13b765afeb0b6bf3698801f2e0545f81866 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/252] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 4c4e985ba03c4e562391db831f1394f6157495a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/252] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b6757812f92a94778a01d4846036abf4ff7c4d9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/252] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 983f71a351b87838d101cf1b1a365df1d6ffb7d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/252] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From d17ed93aab52aa0a3cc2a89e327bd4c6bd94a2d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/252] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From de7936f5a20fbd753c392d420c4615844b695348 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/252] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 3e044671e59356f8cf97ad34431958d761442fb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/252] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 98ef873c2b1f860aaade6efc89c4669b7e204ee8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/252] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 1081b3cb59229d77d1ebe16060123f3e06eed659 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/252] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From d4b0b7cd8c05ff81e3c86b104cbeae173394b459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/252] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 574e75a38ec02f99aa2b3e106300388b41e7b44f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/252] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From d274ac79c7569ed1fbf43efb024fb588bcc50d70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/252] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From a5e55fafebcbf32c38da64ae27c705327ac7f97d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/252] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From f40a1f384bb2a3f773a3a646704c9f27ddf44d9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/252] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 94aeb70e557e0442ef62d0e59e386678aa2a8f99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/252] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 2d7748eaa3ed0275ca3b31893ab540ab6d8a1123 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/252] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From dd3fe1e789879c9c6c4b7e733811dfcb8c9ec7e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/252] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index b256567badf..11e0922ea43 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 5f1fb1d8c48199616fadb23212392b4d39e17c14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/252] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a1e23ed5169e09c232aa364d21d32453644c917d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/252] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 9e8e13be56a67091430697194487d74500f14988 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/252] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 92ef203988207b49be10a312898415b93a9465e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/252] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From fda18c4ad55d970d8f827b6b4780365e1afbdfc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/252] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 6f5e4b4f6ea47d5d2bb3f7f4a52ba7431a4db42e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/252] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From e634c49a77d446a6d31ad7b034169abb9b4e653a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/252] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 202d7a5e98b9b54d5eea617b6c72a09ac00fbcfe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/252] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From bdd39acd4f118f17787cb3b9920844350308d659 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/252] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 5364f502c05bb2cb7dbdbad916a771e52fd5f955 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/252] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 3b21772675f18fb49f81c4ba8a51d37ea08cf6cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/252] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 9a1523db0bacad6a0bcd545ff7a909170a3da2b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/252] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 19f4abd32c93b096338b2298f1e874002421b1d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/252] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From bbd3c560b7d41c8e40602a9ac1f401427605fdf7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/252] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 6835221b56b182bfa3cf6a086a2a97d52fa705c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/252] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 4c6f72dbfb996ab4bb5da9b6b0f580af4d31b178 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/252] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From b239570b693015e6ef52a85449413af522ed1641 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/252] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From b58385594abd8ccb6920e672bd7eb54333b1e507 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/252] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 078a64d31dc67fd04e0165b30b04a93cd435aed3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/252] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From ace89276a586074e7d30f712e10cc4b33b1ac151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/252] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From b238321ac94b63acdc43e826a4ac82221d7e3903 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/252] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From bdd84d01b89bf289c4d38a6be674952fb3f42a44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/252] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 97514e888aef9df457e5218c6a85e22fbbb7e89a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/252] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From dc8c8ba6e41e1f1ac8c651cb8bf42b8f7c9e78ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/252] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 4cac42c028d75d62c9eb24ff96452b293bac915f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/252] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From bc013361689a46bda36eca0241c2b10c58fb9948 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/252] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From fa920fed27880ae6b9b03f6838d0f099d1126366 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/252] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From ba66b045d1f057425921500518b5ab27f91f3e01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/252] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From ea8caf54610316e2ee4eaf8bc5966d27fbc3db4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/252] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 3a8ad75c76c0253a9249b19eaf1c88af18755190 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/252] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 0ebd4b202762a30c579ac5578b967354b8dfd5ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/252] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 67756325d784e5350daae755ef9c00100c4fc66e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/252] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From a50e26bc668216f77cd73cfe20860c4b1487764c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/252] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 6f0db74b938515055cb7bea93db600e264f5ab01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/252] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From f25acfac62d82e83a8a429b658cf64b49dfbd142 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/252] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From 8546e10e1b8b50b15b3ddfdc2d3231bc6e69a88f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/252] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 2655ba31c48d1c86b9ebd05a1d44d53062a99a2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/252] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 0e08e4a90e9fc147ca69a8f618bf67c8576f58c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/252] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From f966d0819df1a723b5c671a36f3f33ea34e3aff0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/252] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 67e2686499a8c99c029c230162f7851c6f8437bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/252] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 24cf5a0912ec056c654e7bcb468951375283b3f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/252] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 614c9b08f973721962cd2becb2250bc3111e30c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/252] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 3d4a83e1dcee0339aa96b1a5b0376f91f0f696a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/252] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From e2b62bd0c7212e559969102c6cea342163df42a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/252] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From ee78eadd4389f29d9381b108886d39bc6fda94a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/252] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From aedf53c9f7410962265d9802d096bd64cd8e9d92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/252] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 1c7e03d680074af8ff9747fa0f63b3dfa3ed2913 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/252] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index b3f0ba49a90..04177ecbf11 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From e34c05cb3e3b4e5f9ded692b271d4fcb030b3a82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/252] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 332be6aba0cd1043ca916cb644cffda4d59c9678 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/252] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From ef48f02d69cd3b9de9390c70dc43e89d71f06dc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/252] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 7e4cc3ffd00db9ceb0a35ba04d87c41911235457 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/252] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 3f030cf15688e816b7b9cccc1a1ad0af2e6b118a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/252] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 488de912cd2228c38243089ebb230b756310f823 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/252] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From ba225629ecb62c133bb4a079acd19ef3c79dcdad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/252] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From ba706191c96920f47dffc89c9a602c9b3bb5aabf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/252] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 01d6dae856a3cb40f7d1939c9037a60e5c127fc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/252] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From dbcb48083b768c67a98742dde0a9cb7bfda6cf74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/252] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 8f126be55e048c937c9b16082a4e7ef375da4cc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/252] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From ef8593dce9c267e5bb275e11903df52adf68761a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/252] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From e1b87094c6ae27982f03e85a7e7abf0d3c6d5e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/252] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 7886d59c6feccefb82b52dcd38c1291adce85f92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/252] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 74d95843820b5b2793a86e232014864a51267f05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/252] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 62b9d3063b3e4197d13833f9aee845d1f302e136 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 118/252] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From 150bc7c558796d9286b95f59a1b881f3743093fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/252] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 486cb74aab872932e85c1ffde0ce5cae835b99fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 120/252] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 4dcfe083ce720417a8a0f1a6298785dfa0067cb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/252] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 2a812ff2e8c112826ba599210a9ee20c1f46a174 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/252] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 68e3d18b3ba1d4ecfee0afc55276fee3bbeff61e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 123/252] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From d7a38b3a42b30ef432ebd088a2bd45d6ea61d5fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/252] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From abbe873765ea49f020b8065ca2b8d14b7e89fe32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/252] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d75a4c901d6f00fadc33c1dbc202100f70fb32e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/252] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 9142ec0b01590f43ae150f90614aeae8170a5a30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/252] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From a3fa2178ed26936d6cfdedfd1ab60642aab68fb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 128/252] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From f9018d5d6033c427532af064ac1dc2693b10ead2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/252] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 3ac948936d1851474f8e729b7046552b42ab2d6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 130/252] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From 1f17b614343dc2dcd14edde562d91b3c83f0ab02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/252] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 7a4f88d0eba33e077f040c571d97aecd495fe1d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/252] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From a2a4174f43006547ef4db5e42a4185d26da11dd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/252] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 27b2e15ec3e7aa3e508af5b3aa417256647b0564 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 134/252] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From acb386b68c87467d53d3efa7a32373086edb8e75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 135/252] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From 63edbae83d3f966cd8075d69e729d3886ae7baec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/252] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 52431c1993ea27774240a0b1192c905af7f7fed3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/252] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 7953fa89d40d54443960be25ed2bc0882d12c258 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/252] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From a33f351fae02775e86c9ad2de56380ddb7dbbce5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/252] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 43e5694c01bad5e52d9d60e9a0beba1dc72630f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/252] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 5e4d542b945bf5ac34fbbeac67a6e1d8c9a9a2ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 141/252] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 70093d05743cc40f482cec85d368408c47bc201d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/252] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 330301e77120edc2877640754a2e91b8f9f1c4b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/252] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 8eeebbef4a25c782a42a27aa2783b405d051bec7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/252] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 1b6469c1c9343dae1cff7d6ebdfcf4eb5ea26d78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/252] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 874dc14b0f14a4ed04b2509b6d8544e06555496d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/252] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 7133d8930471a451b900f779aa7964aa2fe5b691 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 147/252] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 35ec1dcafa3b3a19dc938aeedc7f639ef445b976 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/252] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 68ad0b85933be5f8cc562347fc1e27b964a684bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/252] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From b469e5c39a1ffa5143d4fd2e09fabbfc350c3e11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 150/252] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 0a53f6cf37bd81d11c8a6a767167090a387d1c09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/252] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From dd117946b0f804919053ba0aaa88153696190f36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 152/252] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 77bd8fa45937cb15eaefaf7a178020e7ab6df719 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/252] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From d22f4ed45354aec0bde51d194b10a89146c09837 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 154/252] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 1784b9374a676a1727ee13e8859073196f50377d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/252] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From efb7f84e17bde30d573c0f8e59fdbbc0807f22ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 156/252] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 7a583ff4553aaa1cf70d973601d79776c4d982e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/252] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 223f0a00fe8debea750c7f6fcc484d3905d76ef2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/252] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 9c95f8fcf8eec63077415908e2806bf8476591b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 159/252] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From c440d5d7f525d4d5c100494347b70571ffd8c401 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 160/252] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 7d8e4b33c47dcf181ba87cd03259f346f39856d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 161/252] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From f5881c3443ec6ce6deda21e333f56d1c8d1d13d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 162/252] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From e2c145bcf2b0caf0e0ad8d1045b4d45032aa602e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 163/252] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 52898a766aa34786840b0dfbbc465772fe8dc675 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 164/252] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 0060d880865e80a7cf5114ffc462b27c7fe0507b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/252] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b215d19fd8d8c41dd1ba1244ffb5b12c8366d1cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/252] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 501b068ca2f09cb2fb783c7157109265dc3b113b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/252] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 48bca9de09a93bce120a25dd23bb9d11caabd395 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/252] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 603a3fddf07a8acbbba89c2fc720955beef7663f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 169/252] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 2f7849da3733b9ad3b8432a456da2cc8931942b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 170/252] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 5903c9d2a6e299e4b4fcb7f539782f934f8a16af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/252] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 954249d8c9bec1e088caede309edcf6d36aa1243 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/252] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From a119d4c6cd0a5da75389fce64d593d154e12fc5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/252] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 381c41410945a1adf8a8ee7390da007284a1dca8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/252] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 0f60dca59c385e014e44ba3af0852f1fa86ff5b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 175/252] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3db5f1372a92142a3a88f6332bffcee01955c172 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/252] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From ad07d3036dfa8ec792572180b5cdf046c4f37f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/252] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 4b38632fc12887c01d8e74a6b6f9f5b527205070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/252] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From a4992d3840d28eaf0616a255b8a2f3f542477129 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/252] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 0e0039334253684ed6e23f487fdab7a29f1f34f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/252] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From fba4fd2b4b432c5726eade22c66d73716d792263 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 181/252] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 032e57f9fdc9c83869e68eacae1ae3971702499d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 182/252] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From c338e40c351d723a9909fd8420ff9bba096c64ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 183/252] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From e54679363d53243e07c5e7bd0d7d5a393f579141 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/252] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From b168883a28e7a886e351ac69053189429b4d1958 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/252] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 5de01150495f017f16d7d917258107b2f57848d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/252] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From a2b7490cadb1336788eefba174e3465f1e6645a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 187/252] rocksndiamonds: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rocksndiamonds/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template
index bdfbca30b26..a847b468649 100644
--- a/srcpkgs/rocksndiamonds/template
+++ b/srcpkgs/rocksndiamonds/template
@@ -13,6 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
 distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
 
+CFLAGS="-fcommon"
 LDFLAGS="-lz"
 
 do_build() {

From 776151fc1e5790cb9931cc33874a4a1def33719b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/252] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 771a17389e89c1b2e618d831d780aae5c2ba5208 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 189/252] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 27eef66636db2baf7b3cb18027d1753334a62b14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 190/252] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 8780cf5e0a142b75f1302f071081df650b75003b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/252] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 690cfbbd1bd34df9ac884f9183c9a8d85252b4f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/252] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 1db2797025e5b0a9f0a8c9a86c5796592cd8961b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 193/252] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From c4b62a275b0cd523cb7ad2686eb163818cea028e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 194/252] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From c4488ce20f7267d6b650a4f045004c9a6ba3888e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/252] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From f2eff8bb0acd42b4aad855071b8535bc38ef71af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 196/252] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 8452a8d451eb86c61a418aaf260e282443eca48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 197/252] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 5ceae2da4e7c703f633163bb70cd625db8b03ff5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 198/252] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 205903f0509c175c1337259afe4c581712d724f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 199/252] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 7f7a7b8322df6fc52e20a1583d84283194559078 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/252] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 12d9dd950742221f6e5f5bc8fd2c5ec81986cbd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 201/252] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From fe87c5b8f63dee4ef41ebe211d9185ff1e78be3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 202/252] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 71483013849a96b810c5091f2f8fc07d4e82319a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/252] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From b8a20028521ef1176565c0e5f48ef9d4dfaad4ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/252] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 2c00ed2f1ac86fdcf73f855ff5c829f4ff4ae660 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/252] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index bc0eac1c42e..5bfb94b430d 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -20,6 +20,8 @@ alternatives="
  tftp:tftpd.8:/usr/share/man/man8/in.tftpd.8
  "
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 0a39e7f5039b11bd9ff88b291cc0def99c03aee1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 206/252] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 72236563487675be60040eee649c8edc197df24a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/252] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From fbaba7fc9eb71b4828006d086d15967db1c6e789 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 208/252] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 29db26c0951079397b5415421e9f96eac8316d2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 209/252] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From ef0a90084e6c907405afc2b5a85af08513724dd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 210/252] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 78a58da1cc640ef9c10635ab8a304834f980bc7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/252] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From b6461845b45b844b95330466ab000be455ee1092 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 212/252] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From f2160d9f9ecfcd3d4999df49cc136fbaf7d4dc8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 213/252] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 29d17d86504023867cc34fdc583598664190b35f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/252] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 430c89b1411440a0b60fcba21f70bb32f1ff8129 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/252] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From b819e7d7bef1298bef7606149befa7709b425ef7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 216/252] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From f0a21d682975a5b38485ce32869a4be9e58196f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 217/252] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 35f58984b6e18ce872941d0d238aebbf73c35733 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 218/252] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From d87383bc23cb742766e695d173518953350766ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 219/252] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From bce4787b0298dc9e97df7bcc252a3dc72c6b84f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 220/252] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 4c3c9dbc98b3b38cbe16ee45c6b0048880f70064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 221/252] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 2f9a9d6bb9011ace741250f1aa40975c181c8c32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 222/252] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From dc9a0c7ddc3b6f867cd8dbbbee7747fa6579f128 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 223/252] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 2abf2004fa179e3629ba1af25ead631b65952466 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 224/252] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 441fe5edf423a2e1ead5c017285c8726e1086a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 225/252] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From 14e2b4ca4adf868db63a7b261f8693a5b12e85f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 226/252] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From f5b7c691edfef10e33b4230dc339f4617e327c4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 227/252] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 5c774ea022305c5e76b144203ebce6e68f6044e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 228/252] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 92d322c01d7fa522c9177418b6417c0f16abd59b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 229/252] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 3a9e3c23875552d1b50cdc2a963fdfbe9e30faf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 230/252] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From a93b076ff59196a879b07b7e7ffa594a937d5299 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 231/252] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From e36ad181a8c00d2f5dae22858712d5716c81b17f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 232/252] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 7bf74fbbfbb1f99e9087157d12150487378ff213 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 233/252] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 91d7dbc51134bd09e2ae9ba26147853b47dbed62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 234/252] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 959620aedea03e94f7bb409549b161d7cc0cd155 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 235/252] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From c3f88dd1db299bcd81011b5dc9e14d97e5ffb2e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 236/252] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 1f3cd13477131013944d60face0b3c5dff564da3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 237/252] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b82f4ed4ccf3521f5a1955a191c0a735e40e78ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 238/252] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From a0db2ecf9b98cb45bbd474e2b86becac829fbbfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 239/252] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 135b4f4428dfe68785569d648c8717296da7cb11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 240/252] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 6fe97dd4a3bb668351acc84de301a71525fe6b49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 241/252] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From eaee5e75316af8f218536832fa121f47eda09dd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 242/252] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 46b72b0a55053f06b93dedf38b43b7415afe01f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 243/252] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 61a790f82195e70ac8c8edeaf451de167e2375ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 244/252] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 8132d137fb196d7bca508583e91ed80134b4b85d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 245/252] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From 883d97aedbc9ea61ec4509859760114408947380 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 246/252] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 08249a09ad7998a65d65432d17768a0b5e85b760 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:22:46 +0200
Subject: [PATCH 247/252] xine-lib: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xine-lib/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template
index b4801c25561..147eb7d5ade 100644
--- a/srcpkgs/xine-lib/template
+++ b/srcpkgs/xine-lib/template
@@ -28,6 +28,8 @@ case "$XBPS_TARGET_MACHINE" in
 	i686*|x86_64*|ppc64*) makedepends+=" libva-glx-devel libvdpau-devel glu-devel";;
 esac
 
+CFLAGS="-fcommon"
+
 libxine_package() {
 	short_desc+=" - runtime library"
 	pkg_install() {

From f96b4d25273f737fd1a05c2f4713be19ae225e99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 248/252] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From f72ad198d2f85c13806f8d021defdb31c0c79805 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 249/252] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 835b4af499d10f40837f7aa74d64a1b493b56b65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 250/252] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 36bed4f5dddaab09aab7af7583ec9e1fe1dd5604 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 251/252] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 32055e0bcfbc8f10eece9e33f9759c40924aa633 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 252/252] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (41 preceding siblings ...)
  2020-08-22 11:41 ` pullmoll
@ 2020-08-22 15:42 ` pullmoll
  2020-08-22 18:32 ` pullmoll
                   ` (10 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-22 15:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 242676 bytes --]

From e79dc8a73208f862b8005c11ba671ccc9af1cb1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/251] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From db55f57d5ac5a01875d462a3814eb5c84e729bff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/251] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 43d038157d95f204e389002405a7f8b49531a335 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/251] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 9bf00eb0eb1a1760391087411d37db8d13ea08c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/251] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From e740570e2ffec7717a9fe83369f0ba678976d4e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/251] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 70f15c3d3bbe52ab91d0a7345149ee5427d5d5c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/251] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 98229686914191cd9165581e5b274d3f37183df5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/251] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From e5035c485d5ec03d6c59effd4af900dedf78089f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/251] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 9735ee98e8750ca2160a912f9cb8f495a64debb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/251] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From e03e2738c75bc0adfedc4a017726c3fddf0dc825 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/251] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index 9e2b638d9ef..2e97c411161 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS="-latomic"

From fb49276fa50a04090b630e9eef2f9fd2a01f2b0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/251] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 554237fe1fc535d88e57856b1bd9e9e1c1c017f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/251] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From efbaed1172c8ac474a37db976fac923aaae6372d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/251] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 598882724907a6a3e6e1403231a58abc74aa0db9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/251] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From d3a388c361abbc08ddb163bd0c1a8393a3a027dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/251] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From e0f07870258b837a2bbf68a1dc24d3dc9d430d6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/251] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 47b4f3e88513e3d3517b29765faca6cfef083a89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/251] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From bfa3c5b9e9ec7a62ffd805c7e044635872a535d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/251] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 967b0f7c96e509a496ad25ede3a04a1b0e50c7a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/251] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 9d4e1827991faef4eb7ae69205f15c8b73cebefb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/251] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 358db5ae8a534fb913b758b4ab4ed5ff4969feaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/251] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 956187208b45797540143add9563d45bc7cea6ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/251] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From a0bd010ea06fba74429a937189a130f22da11b4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/251] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 22811846abb13bb089b31a8f061db148eb74c7bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/251] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2ace8903c47f1e7952b10ddf8bfab00387af77a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/251] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From d377f912d9dae2f8bf58c6a689b67d7684d03482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/251] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 50f412b442387de6a2141503c48a04351223d6b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/251] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From c76306a9af1a3b4d0d2339db334d944e27ccda17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/251] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 937fd5852079313307f56ab8e43900fdc9b7434c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/251] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 17c2cdbc92c733decb07981716d851d362779b85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/251] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 46305ce374ea9fe9ef16bbc64d2a3a68c8e6605c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/251] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 21e730c9658e386ff83d8de3612eeca621afce98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/251] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From 0f7966c6f0b1320e4c3ab04e96c9b68cfe98796e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/251] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 60b9bc543e8bd49f8223c560a88a445e8580d5c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/251] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 3d04b27b445198a9f1d2f001fe275318beebdcea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/251] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From dd06ae3dd236bf2b85d9b5d3ddd619d62c206e09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/251] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ed9b9b5a866d2172395c44926b13c2abeb2cf93a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/251] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 5e5cb43b6c954641bad8de1d479f361997c21419 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/251] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From cab309bd26ab4ac9b815a61f8b9796d46a4f4502 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/251] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 3196de09dcd4244066a4c5581ac75a711214d1c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/251] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f15b9901858426cdec87870e5c600ef2c7b60ac7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/251] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From b1333c63e0d10ffb3348979b43fb1c1c0aab8bd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/251] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From ef11f70f577b73b50370cfb587f3d96fe9df767c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/251] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 8f755884d671666cf0dfd6f5c45d1f9867528a11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/251] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From c4457d4d4cc39efa6d85670551d31304675a8ed2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/251] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 48ad747569aed2734a426ec7ccb571bc67582750 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/251] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 09a1e81b1c632b77c340d50037abbc10578f1a1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/251] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 17483b9d28d4e9aa1bf7352ae39ba4b30bc59cbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/251] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 8ea91ba830b01f67b7b3044258a10a7ee388cf76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/251] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 992e6ed41424929dc629d5ee678e67dbc9ec1f94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/251] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From b8d389cb92d01bce9c072b6f7648c9bfdda638c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/251] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From bf1891967886a1e74e668987075171a51bcedc5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/251] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 6053007f577fa7f1d0eeb583fcebb17de4c685fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/251] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 4d262ed5189842867c01076cab2c646271146363 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/251] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From bfbeba84a979e81bd9016572060bbe938cb2a7ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/251] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index b256567badf..11e0922ea43 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 7cd2b1dc848bc9a4008a196cc81a8db7d08b95f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/251] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e84fd3009e83152e543901c77f86e3b13a0825af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/251] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From a052e747d6344212b1cb94a115495dd1a5b3460c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/251] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From b8ca99ec61be10b889e23508efca51cf9084e76a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/251] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From 6181f6c32da2300ebcbfed8fa28b74fb1c931113 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/251] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From e5591292970379cb3c20b665ce73bb7803dc3f81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/251] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 31d4076d4fc8a51e3365054c04a733ddee9fe78e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/251] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 453e6993a2a2e610e04333d2fcbdb7ffc375f5aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/251] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 6acb47c2e8dd5a2d55155b251ba9b24e3f501607 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/251] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 78048e2fd578afd088cf31cb251c925d8cadd8d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/251] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 479fe6e5de4c5c79aa23bcc1318baa9e15ea5247 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/251] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 4f20b799b373da306f0bebcd0cb8d0f64221b396 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/251] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From fc1bab77a5e5b32c131ca224e3e8b44956dd2f70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/251] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From e1f7fda76b023c5c41f63df282890f46bebf3d5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/251] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 1710f28b2ad513d0747488dad66c7e88d543edb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/251] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 3dc86a48f829c46652c69ffbba9e0d27b77b18c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/251] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 12bce729c92f396ab43506979c80bc9cb01784cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/251] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 559525015ae95376a10d5b8be76be7fa5655d0eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/251] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 109013d9ec4fe8230e18bfdae439c2c86c4e811c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/251] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From db33a004258bceda858c3353fa2a000444c5c34f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/251] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From 56e9f08b2deb88e28a379aace95051c462869a8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/251] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 4e89fde7fb88ba792efabe11af35ca86f14d19aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/251] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 6d3cb7243139dfa6dc368c4ca42a13c3577a5ad9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/251] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 3f700f0a374b13a055dead9c805e77976d87f3e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/251] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 161f5340823b92b6e9fb6aca40c2642e1df2dc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/251] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 4d7dc20216fd8bcf805a4ad069d176c0d119dfe2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/251] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 2a22b6498a270c7851ad74b2ae9da0ddab9c6203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/251] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 0a7f6f9d984bf9401e5b3c7c837c2607f8f7eef1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/251] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 24a1fd9f01ca941944a47df30f23b8ea6f4f47f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/251] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 68829b34a28a699b2f089d7273dd25d124a30dc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/251] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From bddb44f38d856ad6414f804db1ef9e1082029645 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/251] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From ca209d3e07418994394d7e60230888c2a683188b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/251] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From eaef9482d38ce4d021c449c651ad5c67e20d3cdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/251] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 6255fb0d14639eec6e286f8d1df0f6ddef3aa4a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/251] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 50f907e4ae1cdff0670a7d73c0f37c81e4ee21ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/251] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From 210214ddaa70653c5256786af15d716bbf115476 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/251] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 4ebf69eca72f0a271caf9ba4fbefecc7fea9db1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/251] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From aa23837ee273a83ae14c4261dabedf60d97362ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/251] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From d116b6433af0312d5836508f099d9c1cb7a6ec73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/251] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 46caa5af787ec0a4cd9aa673c82ff05c6315c192 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/251] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From cda75870a24ed69f97d1782aca8989ac7a5743e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/251] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From cd7e04d34e4017a195bde82496392d3afcc3be89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/251] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 9bdaeb1a8c7883967a2ed7d4121877e803187ac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/251] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From 95e42829a24b18389040dc93a991ecc0a2dd06fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/251] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 5011b768fe4f8a760e6ac8adb67ce46c7cbfc9d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/251] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 97f733cc5e19f14f719375a5104f49505bf349e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/251] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From fdb82185ff025469b3ee7e07d0cf842157787ead Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/251] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index b3f0ba49a90..04177ecbf11 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 6ccae680aa509ce76aec8cba0c1b5d05742ae09f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/251] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From da21348e6062c159f110c1fae8de05e9dc2137fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/251] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 80a79eaad85dc17e36c2e78c4451b94d7e4a4e2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/251] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 41ca7d81d18ca3b67f8649ba60e6f09bf28c4790 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/251] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 46f29e8fb70f2b7543d444e65aad41416340808c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/251] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 66ac29f1f975bc07491d48533404056894dde182 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/251] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From b5bec27eeb1335483df80d0b2a9187b6b85b6674 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/251] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 25b4f2839742119cd319a1c6509242c457a82413 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/251] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 49da27fa20bcc3ae4be173ebac68b19dadd64c87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/251] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 3855f6262f0e78b6e0f64a4532678c1f018db49f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/251] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 54c69a2d226b71b9834a1580844062fd1c809a35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/251] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 2d447373345ee79dc7b393e0f3b8aa08bf56c5a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/251] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From 5916840eeaa0369791fb1b0816a7e6453566c01d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/251] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 34ffff4464e5c1ea7bdd0782ea4e446e35e3ee57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/251] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From a423d4fc7d064679c83bb28efd03333081c15fe0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/251] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From b405a5674c2d69a137cf23aafdd8e347be515e3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 118/251] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From d1ba73890ae83becb6f33bb1bf5957e3105af763 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/251] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 3e8a33efaafd961fd49f2f59618c57e58b29d557 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 120/251] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From cffdbb83c6d34a016d9af6dfb877e613d20baa19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/251] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 699298af79922f3918768dad3355a13a7902e256 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/251] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 9ca9a65ad9f7e8974b7402f9150f192c7b68214a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 123/251] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From ce5cf0f5ec322e10fe81bbf7beb9d5ea62eacbd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/251] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 648a46ebd29eb35211763b97a7e2d3f97b32271a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/251] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 561bd31aa541d6e3749364475aa4f581eb813745 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/251] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From e68cdf1f33224f702b2df53cb1214262183aeab5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/251] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 5dcb2600edf7a4bd9c82d20cdbb6fe1969553680 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 128/251] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From e68511a994661201912aff11c79714c716564076 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/251] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 1979b8332e777196a87933de89c1fe98712452ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 130/251] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From b7218b4957e07b045a642e5e4d85edd83f0cbe56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/251] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From e32de9ec023e2d6a3ab728e94669621879072dd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/251] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From a6e0f13b5688aba43ea8e50060419b30f3cf5e74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/251] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 9f8e0223c995f855d8dbc8e96082f4f22f26bfc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 134/251] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From ff53768667f7336ea85a9cb8198a58acdb0d130d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 135/251] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From 28d1252bee60860357c7503e3bfb8dcf786ef88e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/251] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 1a3a819945b67fdccb054ca125e5ba9a03243e95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/251] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 9e094552a01b03e7e1194906d4e15e62d3a33c95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/251] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 99003f17e2ad257e6e8ec77f12e696295e85599b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/251] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 2f3a9e4ba4e378f47bef0ccb00c347fd311fa88b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/251] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 90909130b388a81c58e043a004090f76bd029fa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 141/251] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b6641976a92027bf240072f015dc5af88f460cd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/251] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 3ec2e570db362b06f4eac60c834e2030608e06a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/251] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From e24562e3288e31a4012080a696ddbd8c53e24d43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/251] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From fe4696091a88d7668d185c2ba8213f0a1e8acf8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/251] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From ce9e711ede23cb39a0c36b466127301063cd88f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/251] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From c944e6bd14aaca81d625575dfe8e5460eef88563 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 147/251] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 35e6b2ea84b0dac7ca8131b4c5de4d3f8d34892e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/251] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From f894e9c6f6a7a9a3c643c6aa01daf729ad060e0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/251] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 7de0741450d313fae63dfca8c866e1bc7c074a55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 150/251] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From f1718c552045238f252656cb394e21e745aec5b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/251] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 77bd2f9d95fea1abce78599e8477d375800d00cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 152/251] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8ec8e1c047335aef98ed706c9be8af56dbb60b29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/251] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 4473d59367015596c283d675a0baf7a1e3fe7cf8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 154/251] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 7779a5f760d1ddee0aa893791901d7dd780d47fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/251] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From a0812e63891feab0d47a35f8b54ee41c9c0a8665 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 156/251] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 62de1783d25890894e66d0c568d45e993901b618 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/251] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From b256b7fa788fcf7311d0766e4cf007d9322addbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/251] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 1f6e13c52ac1d7aace87925bc89115cedff259ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 159/251] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 0ec195c6dc91a21e572130322cc76d368d6deab6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 160/251] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 28c2005d4bfa4ce90efc03f61d5455b9d1b0d3a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 161/251] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From d7f47bc8c23ae45da91393763889643e44e4d614 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 162/251] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 72eec8f84e909b840d00af597879bde8ec9b0723 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 163/251] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From da2b4df22eeb3f39d163079e7a739f9aeb471014 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 164/251] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From f9cf7ca820b7422e5ddf7424eca18fdf68d92d16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/251] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6d8f31ce07cb883ec99bddf8306f425e2ea6d0b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/251] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 3708c22444c0cc09c72c107a49537b1bef6a0300 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/251] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 86f89956ec7dd7d874619b332b25afe39a35a795 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/251] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 4571ce8edbc0f5c42340963114619845d5b945b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 169/251] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From dbae8f99e3c74756fb700e555e151954bf84a92b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 170/251] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From dca9b6218dfacf267c17e3b37429a07311b35d01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/251] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 3ee93fe0a261003e2a76ffa8fd9b454542abd760 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/251] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From cd870047373a7fe6e8dcb1f7d5c148624ea9d656 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/251] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 73aa2852365faffd5b7176cd8133e4b79cbc31f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/251] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From d1a0a31a482c319577fd2a8521e76667fc3499de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 175/251] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 395821c2733494811856f27d5853f7988c3ea21d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/251] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 26538a4f1ac110bc8a0a8d80c8ba0292e1af7abf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/251] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 17fb72dea91b219007ea6a3175892d85223b205f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/251] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 613b1d5c4cba9a2607bb34ac72245606516b9b5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/251] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 59d12adca67840ac48ac8141cb33734408382ddf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/251] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 99c12fd7385cc042d33ab51d1d9905562e30b0cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 181/251] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 60a77792125cccb9cbfde096277d224bca7336e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 182/251] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From 4e57cfcb7403c42fe2d404486ab561fc5a3e23f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 183/251] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From a42a7a720c412f0d91ded714d9610aa1062cca81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/251] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From aee176cc7a3f84c609a526a5836428989e8fafe8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/251] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From d36ae200335e3943978d81b7c4ea0bd3dab0bcac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/251] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 64d5f1e67854ae193355de5a6cabfe5135dbfd18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 187/251] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 96b1c5fd9f6cf04c34d304565c30266013cca008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/251] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fd8670593e2fb3e67066ed15b8bbb09c1f55df03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 189/251] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 9a400bbc4fd19f689fa90343a611a4da050354f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/251] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From bf0414eb1b3501d3b0776cf87e863fc25ec38755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/251] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 86586b443f915ca964f32e24a97154c2d98c2078 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/251] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 4964a06d5b8d4bd41fe99bf9de0e3c97f124b8c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 193/251] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From d566f761103110202c9eeb036203b094bc5bd096 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 194/251] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 67c455ec70e681808df5f1fc0f38bdd3791457f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/251] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 4dabacc9edd3c75bb90b3919bfeaf228902f5452 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 196/251] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 93cca21c01c7f636fcbbe9bbdad6a5b8738a8e37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 197/251] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 8cad0d7b0e12c647ea08c061c1e14bdbb74eb3b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 198/251] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 457ffe4cdd862c3182ecedf9c54211089032d801 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 199/251] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From ebfd3faa622908391ef5cc4b4dfd117e5beaf9b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/251] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From c059b2eca70c2cfa899e54923917b040e72c130e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 201/251] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 410ba80c8cdbb0cd1e53ceb4e3f76583d00c22fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/251] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 2cbcd4223febd5739a8371a401bc3e18442ad25c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/251] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 4cb337bea0004abe74e44a0fcb3327c444f46c39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/251] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index bc0eac1c42e..5bfb94b430d 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -20,6 +20,8 @@ alternatives="
  tftp:tftpd.8:/usr/share/man/man8/in.tftpd.8
  "
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From da59a6fcfafe6c0c1cb0df6187f28a258719700f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/251] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 682dcc37c6617fb3a0150828078019f1c0f03f09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 206/251] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From ab5cc48ffe4f44c4eb26dbfd842aa24204b4013e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/251] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From b766059434d9aec3e8d24615e9d6dabb18a2bfba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 208/251] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 292545b3d6d3a62ea956d64db9c82d71e098d267 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 209/251] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 0e3abf27e86f12e30870c6a4371634f04ff4fa98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 210/251] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 0881d3d23130b82f2cfa1d2093f1a214f664663e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/251] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From c0b96357bc83cfbcbe1660acf1fa143fd390b348 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 212/251] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From ba658394567d9ff8cd9a595dfe5486da0db89bae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 213/251] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8e6d41d020feec0799bed382dcf295fede234ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/251] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 81e9c86601f8a928f92c9d9facbd1e22519fd3d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/251] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 8af7260db651c09fade0b1c9d5a1f7efe8f4097f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 216/251] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 306e6197f4379883c0bbe90be2ac3668c30abcb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 217/251] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 433a4fec22f0e02ed6491dd8d69a12a26ddc7040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 218/251] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 341d899cb602d52cfa9a659724b4d4cdff507db2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 219/251] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 6a25dc3b5b2abfb8545b6b629c1d78bd60b2cbbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 220/251] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 77666e781b0d9fc0f526ddf5b2ffe9a5d90218a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 221/251] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 3ddb4928a985fe12d10be9eb8301a36efb690ec7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 222/251] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 0ab710927eb5b550823dc6a2010ff1a2e742ca6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 223/251] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From ad96a966e80fa83c30ac04178939a4e0e965e11f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 224/251] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From 5d6ae376d4d7a370422748791331daa10d0b13be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 225/251] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From feb3c5ad40295292d386ef8b6d7da48c7456d488 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 226/251] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 88cc014c74ed5158c05513526998acac2c45c49a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 227/251] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 36cdbfc239a25d0ecfc5f4d774331a35206c7257 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 228/251] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 3205ef1d30c3728773cfdcd22c15efc37fb356c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 229/251] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From e9fbde5237c02f25e2bbbf7848738617460b6c72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 230/251] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 780c5c8d77bbbae6d5c6af577c584f989b265db5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 231/251] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From aca60e602d9885e370918f0f9d8e5691a2f45f7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 232/251] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 3a4af606119bac9f111807eb9453cfe3d1e997a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 233/251] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From ea982f6d8ddb86b556daa2d7f30b26fb10d21093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 234/251] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 165244d3277c0eaa18aaa20884612f47a5dfdaca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 235/251] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From c28ee7a33803c64adb46304d2b3beb99eee49310 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 236/251] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8769504b1e924535a110ebd3008674f457e3a2a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 237/251] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 9094db646bb306312eb8fffd290be664fd522ec6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 238/251] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From e702e417d77b483e23c076deebd5efd2661cb9f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 239/251] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 587bd3afb1fd66aafd77a7afb0a0012211506086 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 240/251] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 1907a6fe5b878851e5f0f88ea2c164d25bfea9f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 241/251] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 2c9d5a06ed7f68d68c4c3b676414e65943554365 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 242/251] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From b8753794344d829e64934dd3eb607f693ff47e24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 243/251] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From b53c19a723515278ad1662016af107447709591c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 244/251] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From d3e2e07c50feb0e29b3938f377dc96f57f56984c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 245/251] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 3685a1cde896d4d70660c382bd96b6a56fc4ef72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:22:46 +0200
Subject: [PATCH 246/251] xine-lib: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xine-lib/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template
index b4801c25561..147eb7d5ade 100644
--- a/srcpkgs/xine-lib/template
+++ b/srcpkgs/xine-lib/template
@@ -28,6 +28,8 @@ case "$XBPS_TARGET_MACHINE" in
 	i686*|x86_64*|ppc64*) makedepends+=" libva-glx-devel libvdpau-devel glu-devel";;
 esac
 
+CFLAGS="-fcommon"
+
 libxine_package() {
 	short_desc+=" - runtime library"
 	pkg_install() {

From 62dac5bb7aeeb24ddf694f81f92d89393a04b714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 247/251] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 1af656e27558cce9d9af59b6989b990b16703bbb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 248/251] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 5e91b28f05bc8ef9a0f134691c050b3881bd77a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 249/251] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 4c99b22fc040ad7e1e25fac9ebeece3af16e77b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 250/251] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 9669e33c56e3925746b5b5e0f445d45466e58e26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 251/251] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (42 preceding siblings ...)
  2020-08-22 15:42 ` pullmoll
@ 2020-08-22 18:32 ` pullmoll
  2020-08-24 23:24 ` pullmoll
                   ` (9 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-22 18:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 242841 bytes --]

From dd3d104b2e94c4259942923b3291c4b4ae94b94f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/251] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 88561cefd28e9ad2e3a1a038027b9fef57526796 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/251] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 0ef6eb0adf50341be6963595e673d89d04ad7afd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/251] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 95672ae3629c49c91139955ad2c6b149b3391572 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/251] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 980f06e5c1bcd4a107889886c178555651eea373 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/251] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 2ccbec43895e77c16219f95c14ae5f4e68ee97f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/251] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 5d6df96cfcb58166cbb659d1ca2265cd9affc775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/251] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From b681bb188f98adf2fb7a9f7852e183c255904c08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/251] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 8ef7ba658ec0a944092754c89b5cd32cc43e1012 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/251] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From afd467269556a30633dff7722b4851b9612a23fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/251] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index 9e2b638d9ef..2e97c411161 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS="-latomic"

From 08b89585b41adcf6928f8a243393c5c788068d0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/251] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 518976da059a97d468318861cc40eddafaed55fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/251] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 82e2543c716286ad192adfb8874207063595bc19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/251] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From b7696ce074336ca2761012a53167206c681c4b4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/251] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 4c99e161e45bfc1973ca57a321ead1668317ce70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/251] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From a40223d0b95bb15e084920e03ab71aac5b0b9b74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/251] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From be45a2bfe1f25aa0289b6d0586f98080b7184d6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/251] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 1628f509ed01800f627f4001ff7de33fd1417595 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/251] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 40e6eb8ae8c64c4f4194861872116bdd758b3600 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/251] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From b25311386d3d6ed8376d86536d198f31bf4a5b54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/251] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b0c8ca480b3088d856a37b363e23f6708eb57c69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/251] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f48b23973ed0dfd1c4cc6c441c6bbd5346dee174 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/251] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 8062933cd23e770dfa797efa1c1e35f5ac39be42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/251] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 3b4ea4ca10f966bdd60a7334cbcb0a8508bacf4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/251] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 0e2314309cab3b2973707bd2077fb1f673e08a89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/251] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From 609ca2e7b5bf56e8342aa9eedbc84f773ee68899 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/251] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 3401b57a8f159ea6f394730d8689a8e318476f9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/251] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From 5bfc76b7aff21d7d0f6705e601e70ecc85e604f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/251] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 17b303197f49e4d3432cde346ad40812f7c1869c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/251] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From caba5b2ffc5c853c0bdc353ee6c79fc454883663 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/251] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3145598c3ed5afb7deb71a9acdfb0c566c9ee2b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/251] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From b40d3e485d357cae9bb6642f5d4b4de1d4b43b2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/251] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From 85e4b3228fdfb98083bdf25e99e231d41267e7a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/251] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 36b8bd5369df5cf8afaffc43101a44b42ee91572 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/251] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From bdbc29f83798e4f46e14d3e07f95749de309be1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/251] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 42a1faf00cd604a0d58b1f458ec3cc23c14e0d37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/251] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From bc3a97dfa39b4cccfabdfd31fdaa267bad1c1c6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/251] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From c2f37039f4b72d11f974b68bd4c12ef4c1748562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/251] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From ff887bf5b295b31711a4787f72a0d600bd319c75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/251] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 0de20f0fd0dcb1998f314963777582637591d886 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/251] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0f2a68477d40558ae2395d8dbf675ab955afd3c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/251] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 055cc473fa8c18127afdb4dddbf9f52476fdd6b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/251] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From b1f822004b4b4fa36559a2859eb9adea10cf29b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/251] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 2f2f473d077b73f2f1758ed0e2c56aef194ddf49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/251] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From c89ad2e81230bbb04de8948fb2479624c47001bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/251] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b8a4a0a415999ae1851e9156079e5485bcf1cb13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/251] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 15eb13b6f448ff0e21877d415dfe5abf0978e7c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/251] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From e59a7ab187050b5e5850a207b86c91e8a85c115d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/251] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 086ef2949ca8f3013ed814b07a728f15b03ea881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/251] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 14e8974f45c6097e7c05f50c981b7ec15bf2ed08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/251] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From f0e6d75b3a854761ad9a80b8cdcaf96e124fe959 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/251] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From 33e30aa113da7ca1d48871f00b390a8690759126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/251] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 1f1c296ed3aee5f3969c5bdeb7af367f1a36ddf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/251] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From eecc2e9a2cf2de48214742b629efe1c8d2cbf207 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/251] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From cccbc9fe3174f1ff8632b626489e4d3aa9a914b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/251] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index b256567badf..11e0922ea43 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From c494328062e688b1a46d847e15a76b9c650645d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/251] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 5f04c41f500b543f1db41295d1e1caac320717e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/251] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From c0b923850d3944786a67781f7b245e1506ef351a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/251] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From e9990d857aa35274cd02b81e69580764db1705ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/251] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From 23ce93939556cee4d89318e109ddc96d7e61881c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/251] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 9f84d99cc2d672e2b357e89a2b818876f6bbcd5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/251] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 5491efabcd4760b822f4f90087c156d9f9724cfe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/251] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From f5b03476820f44dca2e80ec1b45be60d0693494f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/251] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 98ab87174ab0146ffa81d79727adb86e693f86ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/251] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 91b24262ea82049053e48247dbdb609853f6405c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/251] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 93f329854bf04718852553ba3840769ba9bab29b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/251] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 6990f0e584eed36b229eefaf31a7252a4360d2ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/251] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 934397ec1dea8063546fc2b47b8f36e1a11a6538 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/251] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 82531b3a3aea6cc1547ade2f2747195da78be4ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/251] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 0f8ef1a37a83a7622518f50e133c6aa326140fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/251] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From 2691f83f660f348386f789c855e5127321800ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/251] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From b3209177ffe1d8ebb996f3e3d280c39ee594b2b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/251] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 543d25ec7c5871634d51b566e58bf8b7a6ec09a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/251] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 1bf674f457de4a7b4bed58f36bf72b09d3292104 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/251] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From fc1f3f77671c7cb50154dc4172a1df9b0e9ae51c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/251] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From 7330d7d3b36409e921b1791ece4116422a9c8782 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/251] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 870783b90ad3544e42d08069dba6192d9ff0159f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/251] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 747c1e6bce216e625326dcd1b9fdec27eead0722 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/251] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 0720c462a39027249f029f58bb5a1002c9eb24c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/251] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From f12c56943ef85790004ed030310ba9592df1817c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/251] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 26c8d38aabe9f790732496bbd8180660e063ed56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/251] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 28c55e69da5a061e9fc1012a1d37ac7756612767 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/251] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From baa5c852c960228da7c10d65041177f2b6efeafb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/251] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From d9851cf56c9687734f9bca1b58078ed93877eae4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/251] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 4aef20f4cf4f129230c20d9d1616d542b7ca814e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/251] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 8cbc05d95ac7c6ee639ef3892703a435bc5f4d2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/251] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 99eb77428e9990e2a363086503b72bcd0064f8fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/251] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 1eb491992bb408716587c02e5c3b82ca14676d82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/251] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From b7cd51cf9314841a097e10984cb36982780b1742 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/251] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 960a552b1c51a428c9d5204fcfe4a5adb05b5076 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/251] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From 1b4932018a340d9a557eb0e005271731f5f49068 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/251] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From fb7468dfd043833f6b697d9e0b2f24aaa6b7d9a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/251] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From e002d54a47e375f6d34aaa468954311e6a22f6aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/251] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 97f0d5aaebd0ccbd284a0dcc6f87f858817332d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/251] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From 1fc888f7b5aeed5aa9e4eb23d7014f72053cf1c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/251] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 53fd6096121f9e2b7566a79b8f6645895e38aca3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/251] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From fdb54a6181b8ffbf5d8b7ec04c2c3ddeaf9d8af1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/251] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From c4dd7ca7043f12991387d168910b869091648a8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/251] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From b884ae28ae61ff6b7e9f7b5f2aed15868631df76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/251] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 730dddad1764d039d6e7479b72c5ffc8f8a249bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/251] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 8d95d07d0f0613350836f82974e0c7e249fe8dba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/251] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From 8a54f9b3d60974db47bb131ff51a195feb0fdf1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/251] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index b3f0ba49a90..04177ecbf11 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From dd1f9486bef34fd7043ed00dd996156a3d81f27c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/251] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From c031c62c2c78dbd4215593b4196d36a159510f50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/251] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From c589d3157a4b18615a4ebc188e7912c1d4c196c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/251] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From a233d89b30b928e3fcd9f22c07bd7d166582e8b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/251] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 42c636505c9b8e7b8622b4500da7af51839140d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/251] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 211538b18e37f63a76a874775da2a7ebf81e4098 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/251] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 4422a1d256bd09ceb70b428ac3ba675963029035 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/251] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From e8b4341c4bbcab7b766cd198de21db37ed50c328 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/251] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 10cf95ae738b0bfde88f2f94cf1c61794c5cedc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/251] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From f1d07a141e4ed88936f256b1602cc4fd350a9acb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/251] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 7bc500b87b029a8b4f160148511b53d770979dfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/251] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 15c9f1cd3ecd138583e8f7804274592cf57ea587 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/251] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From e570323a013565a5c9ebcdf73e331b135d8bfcd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/251] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From b96206ae17c0a5cb610e5c5362e71c898b40ad6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/251] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 481f0f69677a5f1efb5a237189ed4d31636260f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/251] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From fd46259def5da9aefb4fea495f7b8aa87391567f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 118/251] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From ab3e56b432956de2c1fca8bea822d799ea2f1e18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/251] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 70c4ee268da954dad6563941cc2f2822e77d653f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 120/251] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 6fd2e37be745ffdb5bc4b0ff4e3ea8917cf2f759 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/251] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From caea3fd129d048ec527762235c594196d11e0874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/251] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 7907def9c5cc80684c26f37980fbee1e02b7676d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 123/251] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From cee455358d22438b06213ba3431321054493751b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/251] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From d6a7c2dfce9da05480299219805f19daa483292c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/251] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2d8ee695417d2023fb5e2f9ac62b2aec521cd42f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/251] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 96ce5533db37ec76c1c7cbcf2e1ab3d3cf831c8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/251] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 49d6f7c527f732d8f05d1abdb6c9f83c1bfb111c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 128/251] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From b3707746d6bc7158d6b09b1b0d582403d42f8938 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/251] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 3571be4116db8ba32177b81426cfeb834a50f662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 130/251] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From b360be0a2a80b8bf58ceff1e2c63d9ade9af3ac0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/251] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 39dda89e952e924e5859bf030b9c42c001bca410 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/251] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From f8ae23525e9465381f8d480640ab4779ab3a6962 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/251] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From f8e5eefc74b16e15be2548a94555cf94190760bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 134/251] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 641b6e646c59222e4e2fe974e558540af61c2954 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 135/251] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From cdd0963024b304fc931a69613b4abe5f0a6020d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/251] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From f1f2a410648402c7b40671815c311915a73072a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/251] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 3d9d07f3d9691098ef61a4804499aa60cdd1de92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/251] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From cf04336c97c5d9fd5f2d794b03077fe52f30833c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/251] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 8c53f215350250e313393373b33bd6f9233d009a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/251] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From b19e77d046f37bf740928f1e9e3b9a5da0afcbfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 141/251] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 59adab9e2c6270641caeaf913124568fb4a25bd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/251] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From e2f8583d5671267d6f1fa08810987674b36e055c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/251] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 9f4fbcbcd1e73b421bfc4f5ce94276fdf4f2b168 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/251] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 130460c98706e83b670492bbfaa99cc98dc7b46f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/251] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 21554cd18ce2a055771682078700be0f471e2768 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/251] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 85e254c63881ef2ee82935181004ed0a85e977eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 147/251] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 8c4090e00b9e6e2ddf555263a6fc32c997e77b49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/251] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 9a171bdc3e055ed40d137bb1506223b7d30dc858 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/251] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From fbda56c58ee495d5b7c35b429bb0da65e17850b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 150/251] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 06708a99e2d6952fca2cdc3dcdab29ec2d12b0b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/251] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 4679295bc05bec18d9ef3fed664a35b5ada3b7fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 152/251] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 779931b411776f05b6b69afb54ea8b0178137cc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/251] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 2d5bfbd1a07bee184608d8d99a928ebba0e1ac24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 154/251] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 646307c8474bf25c56eb4c84af901c487100901e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/251] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From fdc5f6df8d7ce1939f84ad042abfedc552818cf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 156/251] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From f028c1532b405ef307e1ac411aad8b9c5fb1f7f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/251] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 73f5bed469ce0378a75eb04699175fa98143d6d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/251] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 09faa84635c6d4cc5a782167938c82a33b8fc3db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 159/251] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 8297940a794d694535ee0b2a9f41857db75a914e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 160/251] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 078faccd6d10b745e7876ddc59e58cebd8ce4676 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 161/251] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From dff9f9e9e37d89be4471904487e95cdf1b452d96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 162/251] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 2d2a021c2c46abdce8686b3a7b09067c4fed3624 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 163/251] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From f80aa9500edfb0e71e6ff02ac2ff6324a3ed8481 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 164/251] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 3a1fa362b8c1ce9ed367efb88a48e3809b9c87d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/251] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 6341208972105dd384b4c40b14188cb78fb706c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/251] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From efe55ede360a7efa544a26776a08db392a3773a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/251] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 8859bef4de93b8b27a4584419977961c26ba7852 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/251] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 290822e03d3b9bd49e7d0c02ec34eb5220aca973 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 169/251] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 0a5e768b0ac65a12a16103e3257dea77db835e4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 170/251] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From a009c4ab879b415f0d92b1447a254d99d667904b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/251] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 16838b4d11a745b77b70a9292d754bdc39327924 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/251] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 462fc0f8c481638f04a93af65e9749014104e75a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/251] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From b53fcfc07c3beb11772eecb7ddbdbf29212c0687 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/251] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 0fbf853509972376d1b96032916dc938fce8776a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 175/251] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f6f23a70addc1010dcaa1f37b00bfa8555302d38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/251] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 573aca6d9250fd6e89150bb0bf6886d8d23dff76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/251] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 6ee5760b6d09ddbadd54ea161ab907037147a9b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/251] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 22e4b5c4679458b633edd28d2989988cc41fc4a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/251] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 6a61bb0e9bb2bf039b3ed3f68a8114ee30d87de1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/251] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 1d161bcdd6734e706cc9a7e94a23653aeefae766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 181/251] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From b63fad48eafcfc77214dbef8c36061d4796dd212 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 182/251] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From 3fe1d0b4cd6c4a7e937b94eae964e244e0b5c14b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 183/251] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 824b6b951b0b611b0afedb76f37454feaf412db0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/251] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From e7217fd980b3ec855ab7891371605baf0bfaa684 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/251] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 85e39efd5cf801251dca7b5a204dcd2ed6587675 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/251] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From bb5fa841bca6d9cb93b3e5eb2d598a6abea2cfba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 187/251] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From c53affade574d4e6d43eaf87aee0c6fd0b88f756 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/251] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f74034fd94ffe867cb8bbe6537938ebf0168daa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 189/251] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From f40d9bd234dcfe6fdc3fe2f3690781ef59ba14ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/251] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From c8803939719e4f2085a555d1bbf29f955006a08e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/251] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 248d7a46c485a6b62f42b4e67472e1aa02cd29d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/251] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 5fa891ac14844bafb91abe0295fdbe4427d59b01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 193/251] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From 6fbe5f1a4e9f40a5fafe34f10eaced538c96db8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 194/251] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 0567aee806310ba2ffe5de29fa4c3080367875cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/251] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 8d3ef4c2007e68d89fbff6bbb20a1a60f3401d69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 196/251] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From adf65eb85f2a5a3661bc6291e6831a0d13b1fe0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 197/251] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 7a3855d666882494cc8e2e615ba0c8c74e121db0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 198/251] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 551ba77fbba7c7a878aa4e6147411408aa2cc813 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 199/251] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From b1a9c6d2a26f3a71b83f9d84a2ca6f69fc1d174a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/251] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 83ffa77334f5c66633a0e48e72b8e26d7852bd6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 201/251] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 97ea2e924e17df0288331d94adc99831912cae2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/251] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From cae3cfb7fab7f3ba5854bda976b591202d44f36b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/251] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From a90db001408980cb2975fc5e7b19d0ea6714be99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/251] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index bc0eac1c42e..5bfb94b430d 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -20,6 +20,8 @@ alternatives="
  tftp:tftpd.8:/usr/share/man/man8/in.tftpd.8
  "
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From e7506c9bbea05ae53b836412a752f9999939bca2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/251] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 04864c5b61b5cf78c84466c824ae3eef1ef2c366 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 206/251] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 5a729536f672d59c4af8d33dd63cd9988f4c2ab9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/251] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 1065e88b8c928e4f4b34139c544016b7a33456c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 208/251] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 0ec7349424ee616771e557eae2c38afa71e6c656 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 209/251] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From d98070a6038f1dda0b5f398c42b224968449c278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 210/251] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 5e1047346198d4375c06d8a3cae93eb76f40d674 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/251] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From b7686bb2a64c42465a7f65dcb7eaf731820aa16f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 212/251] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From 34cbc3282bea720df225f128540981a68c6ff04f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 213/251] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From c75d02271b5191af82dcf7ccae29d6ccf7ed0592 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/251] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 92bafa790fe6916526e60fe1403cee14a17ad29c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/251] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From a5b2be7e47362f5817e51603ce903375875b64b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 216/251] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From 4132c7f5fa612e4e765abe82e666850cbbaef6db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 217/251] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From dc4d0dce793ac872a47194d0b88e28cfa6d85506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 218/251] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From a70c4e52d50e8bc8acaf3e86ad081c9106f877bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 219/251] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From aa1a46cebfab46bde0e6bf64d68c7ea35bc34cac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 220/251] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 6b2ec5aceed4d38aa0c4330bf26e6342435812aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 221/251] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 35a213ef9ba9f3547b87943650560f5b25e0278a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 222/251] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 40ad1f28469703b41af3b8384896549194480245 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 223/251] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From a1e9d5ae6e8aef8dfb55d2aebd51041804d731cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 224/251] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From fbbf6e59b752dcfdbe2ad6c6728e29b9bba541fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 225/251] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 166b9e8613e4c8057ad2c0751bbf208c39df0a67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 226/251] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 64897c90806d1063f4968f93167cfa8bc1cfc301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 227/251] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 859ded55b9bc0da849e846ba54ad6bf8901eba7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 228/251] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 92c59b998a2db1f767d78ec3aa71c5d77546acef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 229/251] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From eb33fdfb49eed1147b3dd35668d82ef03c652d38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 230/251] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 5e7c867a35fe8f6561456fc60427a4536f88a5d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 231/251] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From a95c26c351a862a196e84d9e8ac2f06484d0be18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 232/251] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 951df6d134f36f78459bc69f85cbc67921d7ddef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 233/251] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From 8f29a771006b54a17160cfc399e048813f1cc2a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 234/251] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 4e1fd0b96586b48d8a2a7f6e28e6e446c7e2b656 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 235/251] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 6941d2eaadafdd2333ff3c21a400566acf4c7ac8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 236/251] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 940e9adee970ae0e437d40abe20736891e2029a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 237/251] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From ef3a89cb5b75964423e54627424686b9461e2d3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 238/251] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 7657d9135d98667d9734051a9dfc2ecc24dca8cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 239/251] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 81ffab6b97c5814604a34884a76c9ef2a361348b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 240/251] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 0b07c2ce440a5301b0abc14e7b6b709bfccee8de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 241/251] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 781241fe1904331bf71fa5ed3161784e775e076d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 242/251] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From d4efefd7da56bcf705e4d73f4b32bf23ae23aa1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 243/251] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 9451b667eb1246bfd7f06eb5c9ca0759f670ba26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 244/251] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From 55edafe3aaaf1ead5fcb1229aa8bd3ad04b05983 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 245/251] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 6bb16a4fa0d1d4a9ae3162bfd1932d8140b196b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:22:46 +0200
Subject: [PATCH 246/251] xine-lib: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xine-lib/template | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template
index b4801c25561..02e9ec63320 100644
--- a/srcpkgs/xine-lib/template
+++ b/srcpkgs/xine-lib/template
@@ -28,6 +28,14 @@ case "$XBPS_TARGET_MACHINE" in
 	i686*|x86_64*|ppc64*) makedepends+=" libva-glx-devel libvdpau-devel glu-devel";;
 esac
 
+CFLAGS="-fcommon"
+
+post_configure() {
+	if [ "$XBPS_TARGET_MACHINE" = "i686-musl" ]; then
+		vsed -i include/config.h -e '/#include "configure.h"/a #undef __ILP32__'
+	fi
+}
+
 libxine_package() {
 	short_desc+=" - runtime library"
 	pkg_install() {

From 1815b081385337dd9e9c148f2ad06bd82f81669b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 247/251] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 7501dddcfe6b1993bcb52c0a1067fa33da72961c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 248/251] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 462cc6a126b9a3b6acad06486cab5665f4737140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 249/251] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From e1253afd92b08574398aaeb5918298889f384480 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 250/251] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 853dc779cf48c06529ce05ed03456ac3b8d0f579 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 251/251] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (43 preceding siblings ...)
  2020-08-22 18:32 ` pullmoll
@ 2020-08-24 23:24 ` pullmoll
  2020-08-27  9:50 ` pullmoll
                   ` (8 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-24 23:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 241948 bytes --]

From 08cf4914ba23f4624a0f10c25818e4f84bece5ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/250] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From e117442c7a23d2453b6dd20a84f280a0a6a5d10e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/250] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From ca0af7e87ac8beab9044a7c787d6179426620f68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/250] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 6328b2e5d5daa6403b2fff2faa2c423299c2cfb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/250] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2f6a3067c052fb19fb583df4c39be372271bac8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/250] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From 583da962b893919b5fcd4ea6575aea1b4d7ef2e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/250] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From c858ee7a032623b92ce4508a19e659dbff03e700 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/250] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 7b87f523f3f06261fc001543bf339a33b50d872e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/250] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From b972057d3f2d78209da33bb3e2a7c264c76b8fdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/250] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From ed4af5b1b5eb98aad1dfe2e8a10a5b0d4e3ffc99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/250] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index 9e2b638d9ef..2e97c411161 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS="-latomic"

From 6b394b40039884c77c995e1c22cffa78848af8aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/250] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 3c85ab5228c73be325ecb8d1ad7bad7457c37707 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/250] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From 3e1b00336dc5bb63881946dbe3d95f568b854773 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/250] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From a1eafe5b05c794b5dc8e092f1391816253c8eab0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/250] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From 730a7f9ba97d3d289699ace2b13e76405b251c49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/250] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From b1b4bc63553388bdb40fd4cca94fbcba67768a66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/250] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 18b9c504e113d7defa6a88950de3c79fff0a1140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/250] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 4daf274517412d2d4e79523da0a223321265b625 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/250] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9229be3c08f5525caf89a90c6e9c92fa81c923ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/250] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From e209c5f961a65d909f1fb3ce4dce5a442a1e84aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/250] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 6ad397e7741e772b22ffe40319a0b3163aeca2f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/250] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0dc4efb692b167426060b3aaffc74f94c7a4cc74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/250] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 5b779d82658b787e1642248376633a1e27e04d7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/250] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 8b10bea1c62556da34680662a04cf49a6e509883 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/250] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 9fbba2e57048a60f7d175737349a933c8c31b4c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/250] cava-gui: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cava-gui/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cava-gui/template b/srcpkgs/cava-gui/template
index 66f3b4aa3f7..3754bb69a52 100644
--- a/srcpkgs/cava-gui/template
+++ b/srcpkgs/cava-gui/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz"
 checksum=53704343b33025a0d4de552e96af67a5b5ab4f6efc8956296aee5a74bebb9bdf
 conflicts=cava
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vmkdir usr/share/examples

From f027f690c063ec45d27fbfa50151ab6a3132b383 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/250] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 1855184075c1a77463a8728bf2cc142153fae643 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/250] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From df3048c555b183b2c9b4c260a99218c74c7158e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/250] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 58438b64020ed2eb67815628b39254a19eee22ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/250] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 64b81720e11959162b3de4765f5afa12c7bac790 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/250] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 80cd678cb46613bceab7511a3c370ecec288143b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 031/250] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 36d617ea66344484370d910013c80502b767df05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 032/250] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From ca3d00c399cbfeda854d277d108641b848bbd453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 033/250] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From d8e29f91225555a6c37fd750fb9a1c2c08f8eca2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 034/250] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 19eaf84a790e70bec20237860d38ca7a292b232e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/250] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From cfc8ccdda540763fdd2a296bf90c922e72316d8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/250] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 683b637572a453ef542805db51a7fd6e9789ba10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/250] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From b8da546c32a2c2f223bff044ae99208c9fdeaa06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/250] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From f7acb84c9b96574c0556908598e2004756f7d4e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/250] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 28cfdf57f0cf0c8d989173c90fd67775f2ccb18d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/250] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9a6ce0211a3eb002841341d8cb435eef46cde23e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 041/250] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 6ecc424afdf9e19d554bd28235b5e7626dc3b7a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/250] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 8926b175876bc696053a1cc96220dea0afa1baed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/250] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 9cfbc4bd1b175f426307b3ee3a49c7d22597ade7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/250] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From bb8d9baddd6e000da02b712b63e977692024dec4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 045/250] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 8da4e330abdfa4d561c01e652d46c0d04a8c80df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/250] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 501e8b904050db3d55db8f0e10ce6f2480fdc904 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 047/250] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 228f95b59cf5149504dcc02c2e91ff04789ef117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/250] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From b4ec75b2ee60f19cb351cc37b9afeefedf194674 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/250] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 402bab21248371e94520124a6ac13f4b0ff388ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/250] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 963bc602c5dc0bc3efd2316c0734a3d2ddad0725 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 051/250] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From d34d693f5895ce889eb14304aae73ff6e06af46c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/250] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From e5296857bc3d1c703cfbcff3314d15f8dfa348b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/250] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 91c027f375df38aecd290d3151ab414056d69d50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/250] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 996c0e6a8a5cf41dd3293ce1dc1552f987b31ad5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/250] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index b256567badf..11e0922ea43 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From d0d10c2db3de1d710c03c877d4d375eb1aa2c651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 056/250] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 59f2ab161b7bdf1e561369a56f8542db06c6078a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 057/250] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From cf4914143a64ccf976d3efebde6113d9691cbf42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 058/250] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From ffd7ab6051e1ac2edb9c2d6601e64d94d2663c6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 059/250] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From 97e137db2241990e7005ca6b9df170ac38f4c8d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/250] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From 9fc22bf85f6308f7bb949e3ddcba9d25437d1cc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 061/250] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 0225bb48b11bd06cc19f955380b6c116c3b63f92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 062/250] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From f1550166a301ec92bbe327fe79b586292e775c64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/250] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From 5b21032b517f0dc0dd5678947f5239a1d347fea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 064/250] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From c85597b2ae693194a84c5f783202e1326946916f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 065/250] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 7fd2f517885628d1c4e9e1c9c4e3e999d63d98b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/250] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From 800482e18af9af686086681e92e1e67ca17e3a5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 067/250] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 8875a30e255a9a0b6386aa8ee1197e8ce92a70c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/250] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From 8283ff5a9950dce75b158e3d8661e8c85238a473 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/250] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From fbe3f0b600a47dccc3a15320c1111e469e2839b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/250] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From d3ddf7042271d6fa3c01b896d77457195faa2d9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/250] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 96f7123443651eb72723b170f4191eefbd8e50b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/250] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 983cc08855df57fbcdbdfbe60435da6339db1b9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 073/250] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 0a6d40fee84d5935b01c4e7c96031feabe03fdc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 074/250] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From 85fe8ba018af8e78bc01b0047e2780fd5877137d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 075/250] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From 7afe0de85094ddf8d8535338718454551bbb6d39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 076/250] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 513f84d02880bfb9cdc0adcb123ef863a3a6bf8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/250] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From bcadc1cbb6ee658206fa9bbce2dad5a80bb806af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/250] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From 8412c2824d394d3ceb2b883203d4c367c48ca4c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/250] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 5bc92cfaca365371b0e1d27546e43cbd83f3f453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/250] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ddb9fb3a472c99a010da2fbb953b2f3e96e7b363 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 081/250] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 69bc2a37674f143d4afbde469e0e312b873fcc52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 082/250] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 7fd6df31bef2ace64d7adf166253751a142d2d54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 083/250] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From 42ad1d9b3a03828bff4104c1d27939e52b07c5d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/250] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 1f1464a498e92a7951758cd35d8979b2d0c34174 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 085/250] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From c272e68cc71a2b5f55b7073b1ec49ea80262b7e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 086/250] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 59a11ce732be176226449fed3c387468227295d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/250] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From efa36ffc04915aa930acc477c882b53f860cb562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/250] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 58c049909f1a4d22a29e157fc9d439bf79b3430f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 089/250] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From e86282c0490df7321907b0061be60beea7e38b6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 090/250] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From dc59a847354c147a0fb0fb3d1b77c6fb421b9fc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/250] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 6c8b7d89032c7a9078b414af733962d54c545b26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/250] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 8b1955aadc1d41ef25d643192a237d833bdeadbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/250] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From e700e56f0145fccafc5039bc5b96ab5362c2a758 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/250] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From a07aec766058648c50c0c7dd9c8024f4cc26d55f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 095/250] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From 8a688d91a69226c4fbe800bd5a19b7c0bdc8be2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/250] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 58d2d7f6c602d5b83419f68c3dcba81a22dbacc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/250] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From bda2fd5f58a7ee364146a5f9f169b57db401f155 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/250] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From c0c4b96284bfa035f2f787e3af03f1222f06a1ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/250] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 7b524783a94fb46093687251fc1c15d901512623 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 100/250] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From ffb029b1bbaf76978a02d95e83f2b6cafab7fd1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/250] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From d2ca88780adca30bd35c04ca887cef111d59bce1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 102/250] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index b3f0ba49a90..04177ecbf11 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From c5ed14202e3c5e884c4613a8124e359102361960 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 103/250] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From 818f5a6828484b68224154f2bda292af932552ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/250] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From a930f1b1494593cf643dc9cb4c24f5e48a38ad8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/250] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From f2c32d82d1f4d5fc398a9a8072577871b0af7e2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/250] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From 116e6bf64c09bb3de12a5257d1b27e50ef3c9e74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/250] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 160308e479aeb0eef52308ba2bed23df347c4981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 108/250] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From a631f6e952251831a6acb94d34885ed3716923e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/250] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 89a5c8ffb617d44586c1015a24841d832104a2e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/250] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 44f527ecf837c061490668082904224ba3c87ee1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/250] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 6f1728c4b328559eba134a9ddef54dc216ab4686 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 112/250] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 423b95c8e9c2953558f70fdff8504251ccfa701c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/250] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From c266b926740b56c0b36fa108bf515957ec9d76ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/250] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From a2ba5e644dc82bc373bf2d4f5c0d87247ddc84ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/250] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 2eff4ccd61892255acd889a64cf229e24a8cdee4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 116/250] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 992c8d045c1c427e0d90f151a56cc30b13fd0f41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/250] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 9eacc466a8383f454024a16957f23953967cd42f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 118/250] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From a2c380668d782ce4e7cce52030433831a6295328 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/250] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From ad092b26939c232c32b40118bf50518faf927568 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 120/250] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From f80dee3fb1a68d1c09847bcc7a47146e6fa6acbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/250] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 6fb62a00d5c19097a8dbe26720be88fc22f78607 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/250] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From e1bee494ed84181b84e1c4355c6696c86c702d30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 123/250] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 985d74f9b9c52d2eb158c69e35c7c485ed32bb21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/250] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From bd2262a69939aac797ecd498352fcf92befdff91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/250] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 16183929c4cbda9a20d5661281a36cad5fda20e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/250] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From ec22192baad4a22ead88612cd6d4fb35686f419e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/250] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 6a8cba8934b62ff25f259cddb7f25bf2ee0f1c2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 128/250] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From 63f5faa07bbd14975dfce9f0edd362974d1b325c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/250] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 0e1a11d4d3a793c8e437e39b4f5c49a5ea14e86c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 130/250] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From 91f32b653165e0c75b26d2d51da2262012f172f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/250] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 7c453c7db8ef92acd4c89bceb2299ea9938f5ee1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/250] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From c114d26695726fef66443536332cffa4ab9c348e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/250] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From 30ab15c08981060f989283386519805d58084b48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 134/250] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From ebabb0ab687fdcfe7ea8c99cc42c66c3e462b3dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 135/250] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From 986a92513e20b47f690c2770ebf8830dec52195e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/250] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 7b656305ed200c9512d9b6026a2b072a44e2de48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/250] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 9f6e1e9bcbb577d920a1f8761749c5c2547f7d7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/250] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 51c088ce5cb09e285b236d77a40da6a3204d4331 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/250] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From 0c9cdefdafe2f4b0421751751114c56be7c8476a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/250] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 27f8d37ad2ab0932d6a256353f69f4dbfe27d85e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 141/250] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 424538baf729ff74e656e97df51576b79c73b428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/250] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From f24df85c2ed3bd7dc219c8dccc5e208f26a777f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/250] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 2a9427abdc248995d6316571f40b78471e17cfc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/250] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From a1fd91672d38f11cd135ba3980d86db88699410e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/250] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From a94638c404b07f2247644876eedd65fef04d6480 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/250] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From eee5bd9d88a487130686a5621fed351b934fa33b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 147/250] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From d37855c9dece7e7b8febd6d6b061f797028c9769 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/250] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 3df1d6a428e396dabafad9c936ee147ab9c48e2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/250] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 405f2bb2e1a39225f3e58bc3a801957f60e912e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 150/250] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 4ffba3bde0ac7a5314d85bb99e2fcb311a5b5ef0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/250] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 0478265ee3cb121af903b237620ad307e7799f21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 152/250] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 59487ef1e10f6865c2a319e45661edce97daab23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/250] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 86544e6af4ca2777ec6a8a55341bdd81e742d698 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 154/250] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 97df50665464e711c91c0a7a4e9b950da75b7d05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/250] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From c84474a723083f780d7ccfc9afb2b3e8baa5bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 156/250] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8bed1b3cd2fb97377790d0d97ad23c5d37564b0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/250] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From e245d4da957432c691e9756625b60f849091cf99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/250] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 7aaaf87288fc8c4033a5224afc100b08f5f529fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 159/250] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 2744c2a5b4ec5c1e2f8d7d38e05e7aa6d03eb255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 160/250] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 38a2db4eea0108eac439a882bb65e54da8efb784 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 161/250] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From adec0e6a5834a315347e476ff1fec8161c4b63df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 162/250] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From cef162caca7cd19d0e57bc33a107b92d824945e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 163/250] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 039fc5c2ca9311ae4fd1d41a70950ca93f37ceb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 164/250] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From fc46fb407c4778404552ecce0490176630b0a3bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/250] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From db89df4c715c94594fce2ffa1922e535b681c80e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/250] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 94dc792023fc4d185a9d8ecf0629117c1b23e3c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/250] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From a9a8d77d47f6df91691ceef6339e610388303634 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/250] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 4f44b408f44854dbbc1dee7ac608c85ed8dc8faf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 169/250] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From b4ac2cfbb7180b5bf92cc1d4e97ee45ec5dd0d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 170/250] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From f2186aad9d924e79c789f8af2a4cc2efc7a4f88f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/250] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 46e440f8f4213409a1947387e375abdc2b5e2c2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/250] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 6f5349945896a82fecf35e62424ec4bf0b2670fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/250] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 61264fecc0d26e13eac3cdf417ecf85710024b25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/250] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 650e0d3267ca7116ba66687af87a240e2dd02b1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 175/250] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 3414f0ad264385e1266f47f7c760c082168d7724 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/250] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 8067403072289e28a311d8ff3c4a09d0e295d946 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/250] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 5b47aab35ee0617744de5b2c8f1747d6bd040939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/250] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From c6b3a9b046b2349542e3d5164e987d585559596a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/250] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From d8d6bbcd93ceb6dea1653d55d57f5ea5a9cd1ddd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/250] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 4183c9a6ec60223190190043574d5d675612a2f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 181/250] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 87b20ecef5ccb7ac82a48367dca2deb725fa1abe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 182/250] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From f265d318f7645a46c7c4a8bca4dc3d7abd19b430 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 183/250] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 7519b79a1cd2b049eff07251836a21f9bece0beb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/250] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1675fc82463f687558e9155df4f3de3546cc6859 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/250] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From e3cfcaf07c7a1e18ee685a607b5659c1ecd59a60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 186/250] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From 5560788679dd4d617b9a76e9102be991a4028b47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 187/250] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 22dc59ffcd369c5aa104eb43c5c321249eb49c44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 188/250] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From f68497733f2a330f8f8200d0df0b06091b806e4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 189/250] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From ae2ff9fde29d98bdbbdcc26f828548c66f2510c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/250] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From bca1b6713ff7122447fe196072feed03b079ecc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/250] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 297bdc2e958b24e08c96fc6737b4bb23556c50c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 192/250] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From cf39d90b4ab2c0ccc3d99eed36e980d9f46faa28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 193/250] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From dd01edd2645abdecfd00817fd8e5891a1fe22047 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 194/250] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 348e45e90c596c533cfcac0932837ebf06d453c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 195/250] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From dd835346e957c5f72bedb76793b64bbc6b7a9ce2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 196/250] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 8e3d59654932ee09a44ee8386ec2daf58be272ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 197/250] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 49b48f7a947324fd92a064e0a24c42e50044d130 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 198/250] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 25231de92e459fd4f0f8067fe13aa3c40f1e4736 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 199/250] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From fd9cbbd49b561d581bdcba4b626a1cb9301c9b36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 200/250] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From efb5afb482737e7c83734b3beb6c24261da3a0d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 201/250] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 8ab90e25e944605f336f155402f23a71f613336a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/250] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 7d45826b4d150a21728f288e99bb2fccb1459b99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/250] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 5a8028ee2e39728f9cfae7fb1dd9f479e91a38aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/250] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index bc0eac1c42e..5bfb94b430d 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -20,6 +20,8 @@ alternatives="
  tftp:tftpd.8:/usr/share/man/man8/in.tftpd.8
  "
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 595702af8d186036450b80b3b89a58abd90483dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 205/250] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From eaa29d5232df4ff7eeeaa94a3dcc44f1ca6a8aaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 206/250] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 885dae4dc5e25583ecb92dc21719b8e3ea486177 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 207/250] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From 7f828906102867d38f0a23dbd4d886cc14472b79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 208/250] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 55b2513639b609e41365c0c88a789dfd9a01b994 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 209/250] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 5db2240e63fa6f369df8e27891787a15f8167eae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 210/250] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 622e0cd2bd5be08aa5036024128c0d19eb2d15ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 211/250] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From 3f71d0b0ed37d9d75a58073cf5c3d860970d70d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 212/250] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From f49cf41976e525b071a67e159d2e3474bb7719ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 213/250] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From d68ce946a41cd88950e9317fb0d414ff9abc02e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/250] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From 9b1561f65b0a6a5a3256791460db1ee35759680a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 215/250] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 0f75ccd91e302d309df5243bd51034f6984ab757 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 216/250] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From a93123e1bbac95620e7a101dc77d71780245daf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 217/250] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 7ff714147ca3c556a41dbf39eae4358a82f00ba7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 218/250] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 295b219117e22724e56783506c56a50dec31f3a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 219/250] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From f67449bf1cb4017ec278f8c9eb8ff6ee8e2cc5ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 220/250] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From f133e9dae980d6babf1725adc829d77785e1fa03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 221/250] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From df92a685105e11c6946e21c94c9fe7c66bb84dd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 222/250] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 4d1b0f42c292a674d4e62dd45f935103a2c829d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 223/250] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From e6643b89cbab55be709e9676532370e739767546 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 224/250] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From 2609fbb2292597fa02d6913fcee0e22a86eaddff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 225/250] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 4cca5eeebe5cbbf84b9105aec8462aa2c1a5e083 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 226/250] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From a8fe623dfa24b804d0f0f07b4a1ea8f5920e89ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 227/250] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From beb2772679f7a75cba42c2aba76a394607ec70a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 228/250] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From e88fb0b8fc235830a590e181b6133da7dbf4d242 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 229/250] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 7bd52e37fc49b8fe9386379c58a4eeb5b09aaa50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 230/250] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 676eb94366b..a62cf899708 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From cb38933eb3c7bf46192b84b40ad8e50b19a011ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 231/250] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 3304d2ba5b035864b9dec857d761ea8ef8b26d7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 232/250] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From f5a5abdff1feecb95863b3f5ad6cf371b4b05800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 233/250] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From f931cf49a62c804a3f67ae53308bc68780d1db01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 234/250] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 9362e1c123e855fa2c02406e3cf76780b798db33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 235/250] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 9044dd1504b350a4f46d75c77cdea900fe3f3db9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 236/250] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From d5c2bad1602cf1b1da4e13b08feeb4c37d23b3b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 237/250] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 6bdc00fec36eda60c31705f3891e9789592f3c23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 238/250] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 74f42a58f33f32a151e95a28fadcc720c6c8be30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 239/250] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 4699efda0f3d14163e61e6f722e5e4b0dc6af280 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 240/250] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From 3124cf7159d95f6e89440c3eabfe26dc7d960e33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 241/250] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 1150e993782e82d184023c601b24be4bc658d279 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 242/250] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From ed4c4da1cd2ac57e35a6ad20bd6bf9b4b53ccc06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 243/250] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 9871a13806f8e6555c29d5210f1374728b31d7f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 244/250] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From 24340a50e116673797403a1f209262819f19d9e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 245/250] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 01494ec52e89f0311937c88848e457b729245800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 246/250] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 3effb0ebf2c8c330065232d57a96a3775ffe2b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 247/250] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 58ad51723235b6a96c556fcca14200d6cbcfb31f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 248/250] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From 39b6d8f5611d0b54443442ad701a1f0c58f54777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 249/250] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From c31d40646ad61cb744d28c5580fe147b8fb9ea27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 250/250] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (44 preceding siblings ...)
  2020-08-24 23:24 ` pullmoll
@ 2020-08-27  9:50 ` pullmoll
  2020-08-28 15:25 ` pullmoll
                   ` (7 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-27  9:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 241188 bytes --]

From c095ec46fcf1c617eb164aaca99b0bbe95fa8de6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/249] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 07283c5871ae7d62e37e90298116ce2635de4959 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/249] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 2eedab12db8c1871b9578fa2762891ba47f9f1af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/249] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 9804a4f65f1a9addabcf653040d35bea55c51eb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/249] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From d5777a96abe8cc143a0e8fb3df1c20e06a8aaff7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/249] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From a2a98b921d6e0beb85a95b91877511aae6a9fb39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/249] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From 9d750c66009452b166a49024582e9b44823d54c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/249] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 085e29c50cdad302fd7dadfcc437484d06914805 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/249] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 4b48313d310653af06f28ee4d834b3032b722859 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/249] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From b305a641759e3f77d672dbc79f06146a5795d9f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/249] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index 9e2b638d9ef..2e97c411161 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS="-latomic"

From b7ee187d6f74a460b2107d68ab7f27d1a602536c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/249] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From a49e0d1427a8c8bcc4d88bc6cfec44301c87edd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/249] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From df53d826acc332ca909353b751b96b6649fec8bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/249] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 8042f602ab5f38193657275d6f69dc144390bdde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/249] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From e1ba34a43d285de449f5cac04fb989a078913bd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/249] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 8c44bb4d05351133072ce68ea1a0170120693f57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/249] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From ba551b40472bbbad7ba3956c325e3fe7d9837c4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/249] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 0526297614225b6c62d942a60184d6803a9e2fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/249] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From db7e6ed4e4fb98b27c845903f3c3cb2c37291294 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/249] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 31294cbb780608102bccc9ed31f008b6458fd299 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/249] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From d17e7d1ba49c7ebf1b661f254c6177ed48c2647a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/249] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From abe69a54e68c69fb6f01d45e68e3c6e2dc462a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/249] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 31b40d94fbaf5165c8b7fd148d64d58eef2e2f6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/249] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From e22aa294872c3d7307dd62c9f6422ebee7ed7987 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/249] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From a90b5984c2922592495f3871f1f81dc36e7815ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/249] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From 215bf8f9352ff35b31b72f33adf114e0aa1f2bf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/249] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From ae561d7329c167dc8c9460a9c334e741ca34decb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/249] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From 47c28ce9f5f471c94462e115c60086c8ebe00587 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/249] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 0a09bea3c840b362e88e977854c7c91b9c322b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/249] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 75fd8fb704259bc285291d2242b60e13daf69436 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/249] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 4f5e2afb7840e1ad6365c5462edcea47c48f2f0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 031/249] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From 1324fdc19db2dbe59f566cd8e8fc57d76b920dd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 032/249] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 43838248dfa20cb7ef509a8940c072eb613049d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 033/249] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From 1789d34c4bb541dbfd255ef9fc4784ea51f653dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/249] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 77e2cc6b473cbbb5dc085ec425cfe88e72bebbd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/249] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 27d6a499b42..835010c94f2 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=c485de2c2920b50434f468795ce4025cf6d2c12f3cfcf484464544566b8fa290
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From bacaa13ce8bb78909cb5387051231702d09d2e3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/249] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 42d9427f32ed2ead28db375f674a73f3429ea520 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/249] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From e8b9129ff428bbfc55ad033d09d720d959cba81c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/249] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From ae70ac5a126db60c428dca9730c688f498423248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/249] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 4f993744b360975a24e1b5408096eb53301a5332 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/249] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From 4b88833cd61217c6dff51fadd1e183fbe01fcbf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/249] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 067e278663bb362d35db728426bfa36aae3a1373 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/249] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 8d700b94733cede19102f539b9c292a35e80e6ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/249] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From 98cfa9dc041815a7dd038c7c6c6e6be57e5c3169 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/249] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 14860936252bf7aec3f5583db66e6c63356f2c9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 045/249] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 5838ddfc269fedf400b7470e4b309af394349243 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/249] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From f0dfe0ced5b27313b11cfbd9050d138fe88b2c1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 047/249] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From bff44b60c0840303e2b97a695d4d6de1341b00d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/249] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From ab791e77ce0871211874b030940503dbb6e51ff0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/249] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 717ed7b06d8bd0213a25e4df25e6d21dc3bfb6dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/249] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From a9e003266f393c8503336db010e72670bf3e9a2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/249] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 27b1cbb04919ed99453b2767dd98bd415bd38eb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/249] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 72bbc7c29c0edd929c3bc8a84a67d5bb9b93458c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/249] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 4a30cda0e41958af385b8b7fb9094135836a1925 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/249] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index b256567badf..11e0922ea43 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 48873a92278ed767522b89616e5d896eb58d5e4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/249] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ba3499a27a0892f2b4b7a6a446ab1860cad281a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 056/249] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 42e0aa2b5f9ddc31c21ab4b877e185b7968a0ba5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 057/249] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From fbcdcea6c7f21abb28ffcf472fc80e60a8146cdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 058/249] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From ff3f051a48b0eb5c7e6fcaf86db478f0bdd5d903 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 059/249] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From ed42dd17f2c15953313b2a9c1dd28dcf602a0e97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/249] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From 43514b3db0772075023beb02a8814ea9411db876 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 061/249] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 16db9cb0849b6bea748fd19f3e1740f2fa886fe6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 062/249] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From bd2bfa44be95dacf5291b819dc2e317b4cb7be9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/249] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From a021aba49d9b92ce3def6959583cfc410991d35d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 064/249] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From f015f5ebe5c4b5a25e0800de2655cdb9799f2c59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 065/249] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From c0cac91569067b68b709ab20b006be6939cca70e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/249] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From f4ec0a7d78e1dd202f557ec8483fb1677a9376fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/249] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From edcaeef767f50eb30da2cd90845b50bd03ca4ebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/249] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From e93558c3e9a6a264ccb0a07c26cb7901263e76f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/249] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From e366b24fb5128456b0f730f1366d3bd2c10af07a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/249] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 10f56d234d9a1be934d021d6f3e87711f05aabdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/249] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From d328a2d0f28b1e29a47607bc8329191f79e7cce2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/249] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From b46bd6d8a6af3f70d225ae50b93218ea7c8403bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 073/249] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From db49ce6e41263c76ef5297ad813caa70197e202d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 074/249] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From 935827baad922b6a4d881c150ad84654f8be6941 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 075/249] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From fabcd26b71b3db819d4b1076638375caa8c63519 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 076/249] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 2bf13feded106b455becfe0eed619639d2c6d932 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/249] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From bfbd87ad5c3c6e7f06119e87bfed6caa3b325e34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/249] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From 43dd28b419c47139aace2af593f74abc6aac0e55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/249] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 0e38371958e76e97a0025c201dce33a67786d3ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/249] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From a070b0248dd8621f0da500c2ee17c7c42ac5c50c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/249] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 37c6699446af0737094568518c538e13cb70801b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 082/249] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From a6fcc03356e4b7b17f7e1a91ee0bfd9e7fb6f20e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 083/249] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 8a53379536337d63c240fb5649c86bdc8500f7db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/249] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From ab90b4b407300d18eb999a697c152169dd30c968 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 085/249] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 9a43ef613cfd19de8a8b5419bd82369ebfec4774 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 086/249] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From 591ea2fb8d9fca99f54de5d97828996762cba3cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/249] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From 302cdf99b19c528c12b4f225ee59fd0567f80982 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/249] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 74e532208c795214b0b2c83a9e70b2b9eee12c49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 089/249] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From a9a2b91ffa16b989e57ba31a556a98bdda305c6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 090/249] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 6f75d9289d5b597a448a95dc4b0d6c6abf188369 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/249] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From d4826bda83c27b7c98ac29d38e57454ac912d149 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/249] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From bb4d30ab0ce41739d6f9efa8770765df489344e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/249] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From ca87d976bb31f509db25a21eb086a9c0e2122c2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/249] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From c30a0a93e4e6a91f648d1357845184e71bfb925c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 095/249] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 601ac213ab510b0416488956721eb0266c812f7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/249] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From 1625396741a0ba99e0306f3beca8facf479082bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/249] htop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/htop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index 718212f912e..b110b5fd42e 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="http://hisham.hm/htop"
 distfiles="http://hisham.hm/$pkgname/releases/$version/$pkgname-$version.tar.gz"
 checksum=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
+
+CFLAGS="-fcommon"

From ae1ceccf01d04fb4b381632fcbb052707ad06091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 098/249] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From 3fe00139e2026f86717e852ce2cd77c6a23201ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 099/249] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 34fdbc40a84ba6fdfd821cd747ffde5d79cb1dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 100/249] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From fca83dde80ace9296aa91804ac091f63978d06d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 101/249] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index b3f0ba49a90..04177ecbf11 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 4255fa8ded413a29806534fe1b6f416eaaeec5ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 102/249] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From c3ecadb5b3922801f0f59ca42b7158e86696d2c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 103/249] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 7fa7e93f3a48abbda3f1d0a913aa2c1d026305e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/249] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From 34a8dc0f04e23eae45e01a67fa1af78c930c6f5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/249] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From c4c233aebf87d9b4cf9b929d7777677f52836146 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/249] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 920d046820662d3ac452706b75a56e0c16933987 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 107/249] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 12d99a5b2f9c79e58211e4454deb5c390b475c1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 108/249] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From fb646daf45438a2ae83a68e85c7d814c28809ac1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/249] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From c9fb643ee2c8dec9bc4514349554285d1364874e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/249] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From 767291268b188a83009a77c6ce7b00b0af1d28e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 111/249] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 070f83d97b3587c863ab30eab844f0e1696818d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 112/249] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 177c2f3ba806d1246184f93037a2cc3705ac2650 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/249] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From e955fa21f21f7eaf61fccc5ef5023dafe3eef5c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/249] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From d7283f6a79f16096c53190f201b76fbaf1dfa440 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 115/249] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From d813183b8d25f60d8fa19a0a73974e7324b01cbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 116/249] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From 341919981656665c1af4efe313a195d5d2137cf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 117/249] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From b525ca2aa3f30e958f7b52598baa2470e01bfdde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 118/249] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From 6a82c8614722db5313541d13af5555491844dbc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 119/249] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From b233737f41060773632968f5761e9077fe092755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 120/249] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 1ddce91a1ae6b574bfb1eb9e53d74b3154644953 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/249] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From b522c25aae54ec20b34c275f30cd3d3641b6eced Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 122/249] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 4502c9bbcdd532367a7aae9c5245c6785f4de226 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 123/249] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From 41a67c53a66680de6cfc9799f4d923d74eac6742 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/249] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2e94b37f0903f471a0122499df0621aa29561460 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/249] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From 68851d79a31cd8421d5770a8417aad121b1c00fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/249] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From dcdb60ad3c025a24eedbe96e0477d0046e37e430 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 127/249] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From edc44f404fc1869171ee4953fc0926ccdd1a7455 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 128/249] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From b9600fc1d73c197567e4ac69abed5fbc42395ebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 129/249] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From d870fd65bdea45943360fc81c75b0d9534c11330 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 130/249] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From c48148b7000c8ff94684e4ccdb0a873b607af43d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/249] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 8cceccc26268d9152de0956adf6d5a8966bb2619 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/249] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From cadf7a52a7e5d6168b93200691e93b5dccddd521 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 133/249] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 4473a5278fb4ddcb883ff2fa86d2c71699239160 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 134/249] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From c3d89e5c6a32195054757097bd0bc0629df045cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 135/249] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From 096b4de45d28768f9bb6f22a44991a7e0f4582bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/249] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 517f94403e7d4a95fc8c2822ee5bd9f507f15e5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/249] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 9d201cd694017831d1b0880b08352fd2456fa9e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/249] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From d2cfc8559f7b9aa21ce2453f87345c23451e99ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/249] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From 3442df91eda0e5e058a59b68ec60a78c75e42bd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 140/249] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From a61274c3ccd2af30f49fc0d833dd9f2d2ce6bfaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 141/249] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 1b87f678cf958559c5336db6951876909e188d2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/249] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 2f26828866c725947820f5c180facc1206aa6b8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/249] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From 65f61e2a9bd2f5f3f5493f3ef5f9587257ecb28c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/249] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 4fd8d40396ea3599b546a6ad0baa30018d37c178 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/249] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 547da92385e1b11f5757ab35a3c0220791b290ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 146/249] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From 7000ae25f0c6891f8ae452060dbcd763dccefb58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 147/249] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From e98c7c619f32cc49390e1c72bda4fdd5585acc37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 148/249] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From e27da4873f9c314f51da90532207067caf419106 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 149/249] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 6da7427b274e93bfffda57a3c931b1ec694c6bbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 150/249] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From c80493315dca9f95e8e61b3bae8008f9f647e056 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 151/249] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 45c348a2914f3de79524192a548943081af57e5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 152/249] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 10e4d11103f68a6f03d6226e0a9990f6556be291 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 153/249] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From 19281fef6f2f7a2428f14a6163c518636c5c0533 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 154/249] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From a7359ddcc72b88f1394b9748e1a37ee28200afd4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 155/249] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From b894c0caa73b2abfe002f9adfc6e12f3696dd65c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 156/249] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From b11cc91b5088c5a0159d18143c46b88a400cc61b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 157/249] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 8e31ddd185fd9bbbf987a9959957843d97c66bcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 158/249] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 8115bd8fd0b11205ec06819cba289ae22a0b2627 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 159/249] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From aa8f0cbf02c5c0cf98e6910a28571fc2fc0d1e8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 160/249] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From c52b01624a7b19a5d8735bf776d9d1a5a9344dd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 161/249] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From c947d86d60f5a107be713f297d6989b9857b0e40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 162/249] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 2c40a5465ebf73cf5f2c7feb2e3d603cfafda879 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 163/249] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 0da2ddf1b8ff56246e9927c3ea2a4155326ee650 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 164/249] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 2e75cca77af0593d770f9ed9e1e68ec0a7fd2cd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/249] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From 9db4606f9994f1f73a36d07d0de7b45183acc554 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/249] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From 544521c7f47631cbe4c9235168c417fa736a6484 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/249] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 66481e85e1a511f4bed00fe6f2bbbfc4bb27c5ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 168/249] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From da6786c7293e6f06105b9d7d304b84dcc439ad32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 169/249] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From 6467d12aa17ced74e7ffd45643b2d47737ac8d02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 170/249] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 154ba0ecba21cea2ce2c182d6553e2de36faf4d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/249] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 3bdd6347fadf956b7b4389900a88056b6986b9ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/249] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From 959389084f99c802602d4977001372c6cb5c98ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/249] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 04f200598330fb88ebafb703054c8cb3d8a1cafc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 174/249] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From ef291dce7739002d9ecd154ad708f846a09c322b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 175/249] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 16c7bc515c7d55188823f2ad6beaa8ea63055ca4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/249] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 2922f70dec2d522b02c682392e63b1845877da80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/249] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From 27580e3f2b906df24da79609e19e50fc6fdb9a4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/249] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 97233480597dbd736c45a00c14470b43c2a89df1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/249] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From 66f25cb833b8c49b785dce731b512b0163216f3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 180/249] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 7ecbfc9291dbf1a02d5054476cef93f70a255fe7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 181/249] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From e77b7506034dcb761754e89d5b72cec9e2538f54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 182/249] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From acd8643ad623f1845333525f2198090127ae4805 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 183/249] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From c7498728480950e9456b12b21ad33abd574ed020 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/249] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From e2ab3638827a83be4ec23d45ecdcebfe4d7d5775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 185/249] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From a9714b3d042f153054b41295f06d375469948126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 186/249] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 538976c548cc3f96041afb2c0ec2b6c1a4b5ebbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 187/249] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 61371925156da51e9d5f4795b22c9650befcf472 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 188/249] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 90681e914d023c8ea728d6a53a854d351786a7ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 189/249] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From 315b295f4b7bbd5a5398ac2e5af62384b5c1df6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/249] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 9d9cc7900abd8bb93c07e7cb65ae28e31bc1c8c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 191/249] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 7308102c229dd9cdb0aab24db925a48ef483d0b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 192/249] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From 1b744f629367e23da200c333f932e7ef8dad0364 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 193/249] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 2014820c71952015e739c30655c33b9f48c35550 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 194/249] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From ab8c85205fa85808d051319a34bea07302c5c96d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 195/249] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 9bec3eb48d9040ea66888ae586c533ad0884b401 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 196/249] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From 7d2a67c1a1b4ae1b69e95c90ad8517b6c6368193 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 197/249] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From c521562b26d38d6946accb1833185b56381faac2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 198/249] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From 416b184d8f0a9154419867bd06245cbe20b78598 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 199/249] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 439c29dd88231045c4abd53512d1b9d13054ae98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 200/249] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From dd5a6204c48247d11f04eb093e6024715d7d15fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 201/249] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 2e48420385fce1bb810104e2b1ad24d55860cd99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/249] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From 98bb209b7354a4cf9a2fa7b7e0a8c8aba8e965b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/249] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index bc0eac1c42e..5bfb94b430d 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -20,6 +20,8 @@ alternatives="
  tftp:tftpd.8:/usr/share/man/man8/in.tftpd.8
  "
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 3b2b0232d3c54ea339bbcb2ba386708009ffa6c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 204/249] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From ad73fbd77b9f11e83354322f9325359d3807ea89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 205/249] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From 5992cb566b789b663218c47e78e139df525f803d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 206/249] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From e7463386b0c88e53f1d2213dfafd8e2742755c80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 207/249] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 50cf5477a4c864c70b0c70d8a654806930a77515 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 208/249] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 8e7a216f358dc0d94c5a9a4825dacbb5e73ebd8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 209/249] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From f77caf94c0aaad0279fe5c68080fd097c0149e5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 210/249] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From d1cabb17b61cf6e645d3cb07b6aee618c3f45d94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 211/249] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From e3870823dae3b8f70aba3841100b37feaa045048 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 212/249] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 1f28e5cd7570dad71b3d7ee734e117143672d476 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 213/249] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From b560b7dd881917009bb6d111fef87f31813c74f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 214/249] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From 152c607fd864b5c1043cbc53ff8dbef28cb8ff11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 215/249] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From d0e4a0014f8430b9bab92649315fe52b969811c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 216/249] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From ed814868d38111e733133167c0abc91d065a7ecd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 217/249] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 822cc2b1db879a0f600d393eae982f124bfb7b6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 218/249] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 2d515caea1138bfe3747ba0206065d30759458b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 219/249] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 56f472faa1cf9d6ce83f026d6c84fe30faab4ef1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 220/249] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 3949700963d976a64b944de1172a7b3a58852113 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 221/249] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 4a6c71e61496e9472fee3055d443b42189628ef5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 222/249] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 9a932f78f83b2b9b35224fafb282a69d135c5acc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 223/249] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From 4156ce799d0f77a26bff648e9a1e16839e8d4a35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 224/249] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 968d587882437b461ffb88886a0796c3a50de35e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 225/249] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From b44bbc81690f07231cfa28b598d2b0344f9fc33f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 226/249] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 79b40066389e0c2a796ac8634e5f09f504bbb9b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 227/249] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From fc8ad7def0fc4b71006accce034d54e3d19da839 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 228/249] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From 0488d859efa2fb8d130b59c5c57cde20ccdae0c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 229/249] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index b28d158df83..4ee9b8a8e32 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From c3cf0b6b4631f3030d62f7c1a3f76f60679a68ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 230/249] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 9c9435fd4fbb65e4b3c46fec3a36f7c936497e37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 231/249] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 7ea090b9663dc9c0e049d8c0ca40d0d1e5358da9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 232/249] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From ee481aaa98d981ed8c197cc5a4808d63716eb5d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 233/249] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From b17bfdfde0818655762ccb1a7a0e9faef597dea9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 234/249] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From 3e5e6a0ec368d37ebe18b81fc29d57c87ee1c591 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 235/249] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 18cbdbed2d46b170bd3ff35a0bc34d57a92afa1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 236/249] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From cae2e2aa5f0e00c37c94024ac3b730304e170d45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 237/249] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From 3ac7ca8b4afb30faa4066a7eb9cc795a94b6806a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 238/249] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From a1451cbff325d23de5c9c88332a1b877de3c3c25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 239/249] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From ca7178c238bc4c6aa04b545c04ae5904c3401948 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 240/249] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 730ab5f3bde2456eb698be12d89cdd9b62507533 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 241/249] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From b08b27c66bd33f1407ab2ce4bf55a2ef5008fdea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 242/249] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 19632c40e49e722c5818d78ea65241003adb5ab2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 243/249] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From 442a92dcc67365ca33a933c73224dd19e7782416 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 244/249] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 410ccc50fe31a780c0ab7d10b5f78e0bcbc1a6e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 245/249] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From 47bccec3dbcc82152cf891004c7b3cf04e72520d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 246/249] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 5038eaac43ca77bf7c7017b512e2b1619cdef053 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 247/249] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From c288a8bec31254ddfb1b1bfddda9e1c3c7eb28e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 248/249] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 92024f9756a85dc9ddf0ac1b445b5f9a070c424e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 249/249] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (45 preceding siblings ...)
  2020-08-27  9:50 ` pullmoll
@ 2020-08-28 15:25 ` pullmoll
  2020-08-28 15:26 ` pullmoll
                   ` (6 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-28 15:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 240466 bytes --]

From 5e4ce2ce41ab47b23ab35a8e009f3d56c5ad818c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/248] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 17b2908ef9cc632d40c6ad57e427f04eb1441f15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/248] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 37539718e477ab7e536f0b1a90e0ce952439479c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/248] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 463b3534d912bd04e120ba040d7075e0d42c6d03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/248] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 908f2e6985bd6c18ca6a45f75857b69ecd171494 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/248] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From aac680bcc3aed01fb1b37e0b72ae8c5bfe53462d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/248] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From c8b304743d34cd6d3a4185493ded52d6b466e07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/248] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 40beda462922a4b67d3cfbc4feec6bb4dc855f06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/248] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 550230a6430e5d793bb69e2b53b32e19bbaa44ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/248] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From aef469ded0f4dcc7bd12d6f4511803613942011c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/248] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index 9e2b638d9ef..2e97c411161 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS="-latomic"

From a012ae358eb7b41f06080da704c40ee0b7724a8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/248] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 55a2577a994b2dc9dfd412aefa8ccf2509fde570 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/248] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From fe7e8ccc8b6296fbaa8b23845e4418b2057fda20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/248] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 0cdb69cf20fd578205e593cbd2cea78e55712c47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/248] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From d7c89a4b0a4028fc5c6a09ea51ef891bd02d5a72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/248] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 00a9b1e4c410b41d95cb104e9b2f606ad7166575 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/248] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 1383260e3097dc4839e5794ca9a601ed2a6d8a94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/248] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 9aeb84a5c4fa996c261a2babe4d747ce234104bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/248] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e1aa9fff9799b0e43bbb9069110badbe7f3e6f8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/248] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3111ad27519d280985f1a0d90366ca962efe1d82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/248] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3de3edb668c874e007960324e871e2f678f0645d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/248] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 43a33d8ae9a13e8d698fc7696fa27d6890fe7e36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/248] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 4952547fe5454655dc611057dba6b91e1b679e6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/248] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 65f43a8d8ad85fce92e85e055a4675c861df59d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/248] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From e9bcf2ac397dc92d4a13318e844dfc006fe7aa14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/248] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From a8eca30bb5390748ebbb3cc687f8c4874b65dd75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/248] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From ed7c5ea62510019b72be14b420f04e093461f099 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/248] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From cffd69efa52d9bbf70739ccfef1e3e4634dee45b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/248] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 1eafef2b67ccefb6c704147158cdc3fa11811ebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/248] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From be0273b22bd4f9591cf0fa18c7191d3bc92a79b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/248] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 6cd1e08b666bb1070199b542c561282662206e46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 031/248] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From db8972e56bafc4354a32f882073fe30580df7ff9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 032/248] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 2e6f2489de9156174726973da13dce2c3e199189 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 033/248] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From cfeb1014ced15991b7ec3783d09ed4bcf760f548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/248] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From ecb19e9ed7fe1eac02e80a9b9f581e8d6b100cf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/248] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 481b971ac94..e0751c13649 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=6f8ac1e9373b06e5c74c6c3eeb7b7374eba7650e708c4c1df336fc8d3b3700fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8ba715753ad39a2d27c248c7b47acada6c0d4573 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/248] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 023baf9fc62098e60f23ca9d5cf05038e18e46d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/248] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 662c20a85a1cf220a35d3e8851fbf2d9833721f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/248] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 9da87866b17fd1ddb36f8f40b48978e1edba3023 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/248] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From aa7a5f84056971c0afcc18a8d7eae018a84a73b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/248] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From c05983b63a93ef3e9f053e43bb9a5af42c83da78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/248] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 5e962053fdc13b60a86fcedc194bee33c4054777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/248] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 47b0eea64db2ddd3a3c7569a29ac1b4076774070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/248] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From ff56840b113eaa71957f93a5fba077bec847d533 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/248] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fac9c403121b186ca505c3bda719523c05eb66ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 045/248] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 0c588e4141f162c8328f24a4d4de35a441b01411 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/248] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 57a025f1f1c0eaa2984cd9e5caa4162d94a7e386 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 047/248] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 9eafd9f9225c5f7d4372c1a817628ed0a016d347 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/248] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 4b1b308b047d83e5c812d26f0d6df3d0aa896ce6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/248] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 5b1b283580034367ed38eac4ae93aade5419740c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/248] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From eb7a30d3d5052aa737973a8f21787d6b2516dc35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/248] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 962f0bbb5e5ed27add9c6065507bcb05e44a137c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/248] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 688d1f7edb9b7b25c79023cb56055bfab91c2140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/248] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 6a10c01fdd95c58166f4f665e28ff808b0d8728b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/248] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index b256567badf..11e0922ea43 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 290a435bd4dcf087a85d69e6a5b1587e0550ba48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/248] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b87cc192b7d1fef4f55eb53742cf808befe6e8ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 056/248] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 4397cea49e10f67683fb8495e90956da48effaaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 057/248] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 56f1835c0c5aff25cfd6098251a0c0e0a5b56d3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 058/248] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From b4e4035ba7834db6562c90128efbe191a8711414 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 059/248] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From e4dfb476d2971e89e064ccf20638af8f66a142a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/248] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From de92560fd5b27f676f8cc61baf7d45a8907f2708 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 061/248] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 03e8e5cc97424a6ee0eed42b728fe68661eccd24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 062/248] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From bc8839d9aaa769ed20f179bacad36c9bba431e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/248] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 90cc14b1253baab52a7319525bbf267a77359475 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 064/248] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 44f09b3f8508f7006e9394ffdba9467c1304abcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 065/248] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From a52767a66d1d648f463278842fd274c3a5224d90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/248] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 0889c8af60df8d2c01b87b40d642387f4a3b2049 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/248] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From edf0ca1f08df74137a7dc01dd5f540e72bfa864e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/248] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 594ae2f3acd43687ecc90e7d0313ef01e8489bd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/248] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From f65b08dc1171f102eed9cf0c96839be741d38732 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/248] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 07bade1c766e5d47d4967382fe20ee11251775d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/248] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 5342f64840d15129152e38a9b0bff854d91d21fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/248] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 84f7ea43fb2526087862adb38f49ade37c48ba5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 073/248] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From b7fd23a1825e6fac70ebe2d76122347f90a31a24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 074/248] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From 88a70725ea7bd63e37141fa10f250873fb67cf1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 075/248] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 5aead27ce939f4ad2d37a629c1dd87b82fbe3e03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 076/248] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 7bcf90f1acdd950286c2172fc3bc6198ab1a20ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/248] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f8784eb990ccb18053c8f06be844b7863a236482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/248] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From fde1752cd15703ca20de78d9f648ddf4a5f1061f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/248] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 122eee015b966a8bd4b30d3516c8e61afad6a9d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/248] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 62df333f082d8916ff230faaac74e815797f1008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/248] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 8cf03e10ccc654254ce0c64f602e769bd105fe18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 082/248] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From de10488be5fb80389f50c40870511c92ba3f79dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 083/248] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 45470736ba8ddaf0f7d6b95a9eef562a5c227d42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/248] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 48d973ecd79d0f4c6e4eb283871e6e438b66bc97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 085/248] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 0f9615e2c009986664710a390bd3f10f63276eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 086/248] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From b6baee7708d6037e965a14476c8ab84f15c850a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/248] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From c5d685f6dfd26010823261026328655eac3039d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/248] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 3d8ccacfb2fae849b3fd3045d4c64fd6495b1ac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 089/248] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From b65e5c73592661c9f18ef0b85b568b8ce1d883fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 090/248] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From a1fdce37fb0ac3c854ace5d4cb0a436b1edfcdb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/248] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 703033a95eb1d932ba37008949eb9b7e56051e06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/248] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 70238e8c1fbd3ba4bbe7971e2e3424b73928854c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/248] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bdc99f31742ff8fe3fb6e8649fecf151dd435ede Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/248] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From a1f13c26598fa93ec80a47d04ed04fde7225d40b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 095/248] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 0965bd213bed74f7c39785026ad4cbebf6137ef8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/248] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From a865748be782d56a0fabebcaeb9aaac270d6edf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/248] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From ba35b1354e5c8c9596e84980cb56619a7ef87528 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 098/248] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 25bec494d00b0de43457fab08470cf31ca2311f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/248] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cddbed8b4e7b9dbd344991a93d992b3f6f6931c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 100/248] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index b3f0ba49a90..04177ecbf11 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 11251350cc2693162f053ce471b3d7c1da70fe8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 101/248] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From a8167314cbfdb9e3108ad6b1cfad87c0062e5817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 102/248] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 03330293128bfb9f686461a79184cd164943733f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 103/248] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From f3c5c557bd7457ae3e27afcfd709d31c696681dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/248] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From b2caf04951a7656bab9a180b318b644c65605cd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/248] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 8ab192426025369c20a5dfe52201ee13a79ffe26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/248] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 26179c5f2cdb6e231da6c2e825e9ad1a7046325d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 107/248] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 43c48c19830c681c462bf58695cd4d525b5ef483 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 108/248] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 33db1d2cc198de5549cfa33bca5c408e66bd5ae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/248] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From f2df9ba9177d251961a9e3a9b32b4c01f2ae5a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/248] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 623458dc75e540c1966e4c29a91ab8916d749471 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 111/248] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 4c7f0395edacea8148a0f4d5ff340a10fb0fee21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 112/248] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From c74ab2674343c18be8ddf6293aada3a7ea42135a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/248] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From af8ecb0c46f41d810eecce7d9d9d9b07706ddca1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/248] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 5be33856d25a303202913c7aac6c594a1e16b05c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 115/248] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From df6b7d6ca110905482a4e621aee56d9a33264b06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 116/248] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From 5de99d5e10284877ee0c733793fa93e9e76e0428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/248] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From b3e0ac91dc55829760fad1b4f91e04fc1143f3cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 118/248] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 299582177d3f8cc422874f77fd05252865ec351b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/248] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 1b03df53ad9f977a98c8d778a6608c88263157ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 120/248] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From e034469badc21165a78823134e6983a2ba087c7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/248] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 32d2dda55e020d0ffc2208d4f9ca71acad0e6d3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 122/248] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From ac82e3d27006b0f89d0d2734573069d20a6ce813 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 123/248] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9d4f589b56a7a9009b9ca9096fc24c25dc189a30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/248] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From c08b4f821a2ec96aea4dcd07d0328a195b8206ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/248] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 3d1a371ee5ab7a5380e68b68e24a318ead704f1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/248] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From a66d7eded1618d2c7426838eab544ef9b924c8e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 127/248] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 52cef63b6cc9f30fee9c24517add69a4db00f045 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 128/248] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From 5df6eb3f536c717faf4c0e19e5430f0f2a9661df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/248] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9558e36b0087d7c5b9dd9d731529919e26c40c45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 130/248] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 50876cc30eee866947be87994b35fddc4c2f8432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/248] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From fa27d49742cfa14cd97b4fffe421d0c13ef3c35a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/248] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 82204289a97f49a3c861015acf3d05c1efe06b3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 133/248] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From a80c95414ec2ea00427fd54602a4ee4656adf957 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 134/248] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b93725dec9cea9255af643ceff393faacf5d60bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 135/248] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 127a6a6ebf97bc09cd6228be3ce2cc8c548b8dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/248] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 58cfd428349f49d2c439473c8f8621a09ba6fcf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/248] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From aaa58221006428956f22131917ae416727532529 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/248] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From b3dadb09199d6226a637998f3d3d9422d225454a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/248] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 7a2f6c752fbf086ba67c9540a64e1263fff40d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 140/248] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 1d356438a0698e97d45fe2c860b90988b73ef96b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 141/248] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 18de65a4eddd11f1607f49073123b23add79cd7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/248] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From d2f60dc65e8c96b7b2a007bd89bd66992b8d13a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/248] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 0ea0750f9ff956ca432001a26e2b4a640e41ae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/248] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 8d42d376749404ae09e1c5bc1e54a3bc6db1483b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/248] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From ed232fd513b19631ff02af98220e48aa785f82f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 146/248] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 8d8e51ec50e3faf636dbf843852026b2c4e27b1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 147/248] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 9d6d19c5942b2d4fb638977678a2db02e191a4c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 148/248] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 4e332a1b81b3b822416277153ca3c530ebc85d18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/248] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 4566affc242edf1adf7724306519b3f849f402a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 150/248] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 292b298f23f92a33d7cbb2b01b4345c2f40abf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 151/248] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 66d0ccdc9ffff656defbfdbe197419076a2a637d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 152/248] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From cc789cfbd2ef5738c917aa3d41398396b471ef34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/248] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From d166cd8c45d7f9f0acd8e9c7e9c7767b065b3ee5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 154/248] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 61c4763016c167a4fac6ad05729379387a4234d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/248] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 8818f7a96255fd5bcf724f5a6ceb50793d42f6a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 156/248] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 775f271222cd604b7ffc0765f0258e7e600dfaa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 157/248] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 24d0823f7244832d4e2043f2822b97849e6511d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/248] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 333ecf9a73bc7edf1b4c1c12d6a7561aec3ec5be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 159/248] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 6e53f56db8bac17247e5e553910d558c482b86d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 160/248] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From cc6abc05d6c111431d2599940d52e3206f1bf037 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 161/248] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 510206a2e6c400f0a49cc85886995bfe1a256db2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 162/248] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 629191d15ceaa7f94ce8ee439b633a3e47f492d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 163/248] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a325c5354007fbed7d3304843244b1f39176e7be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 164/248] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From df37fe447de3b6725fb60f9ffa41dbddf24b36c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/248] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From bd5a9508c8e33d7cb4ef64ba15e0fc3b180a42b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/248] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 06ae7f4a56d173ae798ff705241201dd1a5e62a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/248] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From f29ba9e5671df3b2a21c0fe9c9b21f0262a0b7ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 168/248] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From f7683cb8a786e424379144c967dddd9610655db1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 169/248] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 918024ac8812883fe2a301842a65bf743ee00697 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 170/248] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 43d746b8705e6337991f287f4fe4bcdd34d359a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/248] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From c2bbe7526197612efaad560df63406e840717337 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/248] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 3538d02cb3629a9b50df0a7c129eb30e20676ad1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/248] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From fcfae310196934daf77e504eb89f61417fba1443 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 174/248] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From dbd1aecb5d230b3456308c95ee8179c03c9a8581 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 175/248] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 00cc1d1940d1e2b612f9217a4f966735cc60a840 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/248] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From d9873d4b74ca5a670b19fc172bfa866081f53c5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/248] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 8d2ccd47d8f77d40d0a299a389ea9ee444480b24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/248] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From c1828571ad804770dc812ae27775dfd760060cd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/248] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 5679ea6ad0255534593158931829dbee5e15f5fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 180/248] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From 530780aadd1c099152b677af4c9b8b6fc75e1652 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 181/248] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 7c91be52795ae98816c30d0b7965663ec6a9b804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 182/248] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1684313d05f972599f15590736a80b79acae2484 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 183/248] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 4bb01f27f2ad29c8d5517cb4c07a5a3e4c5f942b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/248] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From b2e13c8072f4f3f91664ca8e0cde9843a0f4c4fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 185/248] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 75237fb3bfc50ba5d98b6b1aca1e4988f7f4361b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 186/248] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 77029a2a924dc947e1fa4b89ce321340fdbc16dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 187/248] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 9f2a2306f5cc21132ba866ef05cf1157e7a14ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 188/248] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From de35e46852ee2fdfead80f0cb3f15f0236cc9804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 189/248] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 39aa63e018e000f8581e527b67b0f2d738f0ae65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/248] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 1aa5451ad849c3f625d3872bd5b7562227bf6b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 191/248] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From c659eab3ee756441ec7e50e0f8d405d21e2d13d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 192/248] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 4b9309a325cee9a6c8713b2944392c16c72f5d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 193/248] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 716b81ae8c6a7c6d7fa19b76a6c27aaf10a047c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 194/248] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 60ad28b555ae2c8528ccf29f993cf83d2da4a313 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 195/248] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From dd9e85e4b23f2c877c884ac2dfcd987d2a29f868 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 196/248] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 1669dc8bab1d10308604d69b19251fc1da722740 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 197/248] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From c8b19f1697f665142a3e3ab228fa96c8ba2d1c6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 198/248] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 2efdfa1a0ceb833035018a3d0922ba9dccfa90d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 199/248] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 6e125c9ab4d6e6082726b237864c4e72913bb892 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 200/248] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 039470493c0c45d9ee45799a1e1e4eeba0152324 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 201/248] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From e18827235889feed51707b391a35f38f60a15140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/248] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index bc0eac1c42e..5bfb94b430d 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -20,6 +20,8 @@ alternatives="
  tftp:tftpd.8:/usr/share/man/man8/in.tftpd.8
  "
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 1928de810120cc6baedeb0b477053144ad51337d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/248] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2cec7bb90fcc686ffa8ed57fa1524a936daf7be8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 204/248] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From ab1cae34eac2f0c53c43242c6fd840c954899492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 205/248] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From a36b25fb8b3475992612cbbc2cb63a96cb4ddfb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 206/248] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 27beea50816067789886ee8afeec132f8691cbae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 207/248] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 250d3357c6a74d5558f8d3eb9b855b93370f901c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 208/248] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 67866d7b5f80638b3b4818c2bebfe3583bbf67ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 209/248] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From b20cb74fa5bd4b61d15a2eaa81d13b12079178ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 210/248] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From cc2ec94d6a037b4126778906d920224133b3e3bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 211/248] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 914a8cf0b45c062aba234863f75be8c9b9a9b29e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 212/248] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From df7f4602486090fbb2c6beb23b0a1aac8ad098fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 213/248] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From f15d9fd7b85e7dc6bea521330db4148a0c95a662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 214/248] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From c3d5c4e0e46dfd8c9b2ca27c419be934df489d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 215/248] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 731230f5679fce25f83652d79fcdead9efbbbf0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 216/248] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6babaaa943e39287181a7867f653735ea0a86bf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 217/248] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 89eb6a056699122a550e719753da17938b51ed0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 218/248] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 0b00fdbd1452bff5350bbd1adc05c7113f665a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 219/248] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 8d8e3dd597dd1037eeed2dc98ce9e17e847e0061 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 220/248] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 960827e1b1a1ec38b486ec0f2f42ef31426723ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 221/248] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 4bba4b706efd4a69c8f152bb29530b2eddfb06c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 222/248] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From 11e7244f06e061cce7b4733d6d6ebfe43cb0373c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 223/248] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 7b6456f56f54fc3d7725838b3c56e0a825edaded Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 224/248] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 782a090214673027c26b40db8658e7af80ca560f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 225/248] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 46e0c1e642da6e4064c6e389d27637065dfc19a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 226/248] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 0e4f7acc922d07fe5f75fa253862315b924676fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 227/248] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c856d9dd5b61044e42b47182882bb4e5a6edc1de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 228/248] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index b28d158df83..4ee9b8a8e32 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 9f76608765b4e8f55f73bebdd4ef22ef2a802f0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 229/248] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 5479c065ef0423b77754de5d29332384354d8319 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 230/248] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 3c1c8a758cda7bb7205cfe9591b7e34648811921 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 231/248] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From aa43a50ff91ed2dc9e37785ccfa14329bb09f70a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 232/248] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 87a067ab416885fb7ea9b2f20705d34bca3fa33a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 233/248] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From bc50986720e74147502f9fb338cf1a88971a12fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 234/248] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f9651b76c9d9bd99991898dc7d6c6798d270afe0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 235/248] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 155a630d2d9a673af7e9fa6dea6412788bf4ae9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 236/248] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From f1d58f5e14e9ed5c78b0f9392a8b3646bb88a2b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 237/248] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From bd375f7bca36f0b667ead90416e5dc92ba6adab0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 238/248] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From a4948a22702eff6325a9872463ac286e15d42263 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 239/248] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 0393e0cceed1a6a1f11dcb7ca0d134b90c111579 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 240/248] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fd79fc27e306551077502fc09f4a8cc45dd9049e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 241/248] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 2a61475db63abcffcc4c17d224dfb6861e22c3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 242/248] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From d996fe48248ea1e7b75b3f0bee6280bcb471dd53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 243/248] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From ffb86043142420944bae88b049e5f43b6dd74594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 244/248] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From a70defeb7ef3bc9a7ad1c1b5a87794a493936e8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 245/248] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 6ffa2960f73d638619bd7bef71828cb7afeb2b53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 246/248] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From e137c693c1a3f207b9e4ae912b81783478b4b1cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 247/248] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 50a1bd42a4ae21935f5b4f5b540b3ad71d796fb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 248/248] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (46 preceding siblings ...)
  2020-08-28 15:25 ` pullmoll
@ 2020-08-28 15:26 ` pullmoll
  2020-08-28 16:08 ` q66
                   ` (5 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-28 15:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/24334#issuecomment-682709075

Comment:
Ping @void-linux/pkg-committers does anyone care to review? Otherwise I'd merge it as is.


^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (47 preceding siblings ...)
  2020-08-28 15:26 ` pullmoll
@ 2020-08-28 16:08 ` q66
  2020-08-28 16:19 ` [PR PATCH] [Updated] " pullmoll
                   ` (4 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: q66 @ 2020-08-28 16:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/24334#issuecomment-682802222

Comment:
vtk update needs a freecad rebuild

other than that, i think let's just merge it

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (48 preceding siblings ...)
  2020-08-28 16:08 ` q66
@ 2020-08-28 16:19 ` pullmoll
  2020-08-28 16:20 ` pullmoll
                   ` (3 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-28 16:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 241108 bytes --]

From 5e4ce2ce41ab47b23ab35a8e009f3d56c5ad818c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/249] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 17b2908ef9cc632d40c6ad57e427f04eb1441f15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/249] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 37539718e477ab7e536f0b1a90e0ce952439479c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/249] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 463b3534d912bd04e120ba040d7075e0d42c6d03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/249] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 908f2e6985bd6c18ca6a45f75857b69ecd171494 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/249] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From aac680bcc3aed01fb1b37e0b72ae8c5bfe53462d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/249] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From c8b304743d34cd6d3a4185493ded52d6b466e07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/249] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 40beda462922a4b67d3cfbc4feec6bb4dc855f06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/249] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 550230a6430e5d793bb69e2b53b32e19bbaa44ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/249] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From aef469ded0f4dcc7bd12d6f4511803613942011c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/249] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index 9e2b638d9ef..2e97c411161 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS="-latomic"

From a012ae358eb7b41f06080da704c40ee0b7724a8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/249] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 55a2577a994b2dc9dfd412aefa8ccf2509fde570 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/249] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From fe7e8ccc8b6296fbaa8b23845e4418b2057fda20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/249] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 0cdb69cf20fd578205e593cbd2cea78e55712c47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/249] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From d7c89a4b0a4028fc5c6a09ea51ef891bd02d5a72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/249] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 00a9b1e4c410b41d95cb104e9b2f606ad7166575 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/249] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 1383260e3097dc4839e5794ca9a601ed2a6d8a94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/249] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 9aeb84a5c4fa996c261a2babe4d747ce234104bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/249] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e1aa9fff9799b0e43bbb9069110badbe7f3e6f8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/249] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3111ad27519d280985f1a0d90366ca962efe1d82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/249] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3de3edb668c874e007960324e871e2f678f0645d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/249] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 43a33d8ae9a13e8d698fc7696fa27d6890fe7e36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/249] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 4952547fe5454655dc611057dba6b91e1b679e6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/249] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 65f43a8d8ad85fce92e85e055a4675c861df59d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/249] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From e9bcf2ac397dc92d4a13318e844dfc006fe7aa14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/249] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From a8eca30bb5390748ebbb3cc687f8c4874b65dd75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/249] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From ed7c5ea62510019b72be14b420f04e093461f099 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/249] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From cffd69efa52d9bbf70739ccfef1e3e4634dee45b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/249] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 1eafef2b67ccefb6c704147158cdc3fa11811ebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/249] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From be0273b22bd4f9591cf0fa18c7191d3bc92a79b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/249] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 6cd1e08b666bb1070199b542c561282662206e46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 031/249] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From db8972e56bafc4354a32f882073fe30580df7ff9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 032/249] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 2e6f2489de9156174726973da13dce2c3e199189 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 033/249] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From cfeb1014ced15991b7ec3783d09ed4bcf760f548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/249] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From ecb19e9ed7fe1eac02e80a9b9f581e8d6b100cf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/249] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 481b971ac94..e0751c13649 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=6f8ac1e9373b06e5c74c6c3eeb7b7374eba7650e708c4c1df336fc8d3b3700fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8ba715753ad39a2d27c248c7b47acada6c0d4573 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/249] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 023baf9fc62098e60f23ca9d5cf05038e18e46d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/249] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 662c20a85a1cf220a35d3e8851fbf2d9833721f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/249] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 9da87866b17fd1ddb36f8f40b48978e1edba3023 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/249] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From aa7a5f84056971c0afcc18a8d7eae018a84a73b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/249] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From c05983b63a93ef3e9f053e43bb9a5af42c83da78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/249] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 5e962053fdc13b60a86fcedc194bee33c4054777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/249] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 47b0eea64db2ddd3a3c7569a29ac1b4076774070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/249] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From ff56840b113eaa71957f93a5fba077bec847d533 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/249] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fac9c403121b186ca505c3bda719523c05eb66ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 045/249] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 0c588e4141f162c8328f24a4d4de35a441b01411 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/249] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 57a025f1f1c0eaa2984cd9e5caa4162d94a7e386 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 047/249] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 9eafd9f9225c5f7d4372c1a817628ed0a016d347 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/249] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 4b1b308b047d83e5c812d26f0d6df3d0aa896ce6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/249] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 5b1b283580034367ed38eac4ae93aade5419740c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/249] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From eb7a30d3d5052aa737973a8f21787d6b2516dc35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/249] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 962f0bbb5e5ed27add9c6065507bcb05e44a137c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/249] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 688d1f7edb9b7b25c79023cb56055bfab91c2140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/249] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 6a10c01fdd95c58166f4f665e28ff808b0d8728b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/249] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index b256567badf..11e0922ea43 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 290a435bd4dcf087a85d69e6a5b1587e0550ba48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/249] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b87cc192b7d1fef4f55eb53742cf808befe6e8ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 056/249] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 4397cea49e10f67683fb8495e90956da48effaaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 057/249] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 56f1835c0c5aff25cfd6098251a0c0e0a5b56d3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 058/249] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From b4e4035ba7834db6562c90128efbe191a8711414 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 059/249] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From e4dfb476d2971e89e064ccf20638af8f66a142a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/249] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From de92560fd5b27f676f8cc61baf7d45a8907f2708 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 061/249] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 03e8e5cc97424a6ee0eed42b728fe68661eccd24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 062/249] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From bc8839d9aaa769ed20f179bacad36c9bba431e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/249] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 90cc14b1253baab52a7319525bbf267a77359475 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 064/249] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 44f09b3f8508f7006e9394ffdba9467c1304abcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 065/249] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From a52767a66d1d648f463278842fd274c3a5224d90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/249] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 0889c8af60df8d2c01b87b40d642387f4a3b2049 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/249] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From edf0ca1f08df74137a7dc01dd5f540e72bfa864e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/249] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 594ae2f3acd43687ecc90e7d0313ef01e8489bd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/249] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From f65b08dc1171f102eed9cf0c96839be741d38732 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/249] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 07bade1c766e5d47d4967382fe20ee11251775d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/249] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 5342f64840d15129152e38a9b0bff854d91d21fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/249] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 84f7ea43fb2526087862adb38f49ade37c48ba5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 073/249] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From b7fd23a1825e6fac70ebe2d76122347f90a31a24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 074/249] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From 88a70725ea7bd63e37141fa10f250873fb67cf1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 075/249] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 5aead27ce939f4ad2d37a629c1dd87b82fbe3e03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 076/249] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 7bcf90f1acdd950286c2172fc3bc6198ab1a20ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/249] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f8784eb990ccb18053c8f06be844b7863a236482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/249] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From fde1752cd15703ca20de78d9f648ddf4a5f1061f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/249] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 122eee015b966a8bd4b30d3516c8e61afad6a9d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/249] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 62df333f082d8916ff230faaac74e815797f1008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/249] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 8cf03e10ccc654254ce0c64f602e769bd105fe18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 082/249] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From de10488be5fb80389f50c40870511c92ba3f79dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 083/249] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 45470736ba8ddaf0f7d6b95a9eef562a5c227d42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/249] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 48d973ecd79d0f4c6e4eb283871e6e438b66bc97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 085/249] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 0f9615e2c009986664710a390bd3f10f63276eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 086/249] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From b6baee7708d6037e965a14476c8ab84f15c850a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/249] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From c5d685f6dfd26010823261026328655eac3039d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/249] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 3d8ccacfb2fae849b3fd3045d4c64fd6495b1ac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 089/249] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From b65e5c73592661c9f18ef0b85b568b8ce1d883fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 090/249] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From a1fdce37fb0ac3c854ace5d4cb0a436b1edfcdb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/249] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 703033a95eb1d932ba37008949eb9b7e56051e06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/249] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 70238e8c1fbd3ba4bbe7971e2e3424b73928854c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/249] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bdc99f31742ff8fe3fb6e8649fecf151dd435ede Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/249] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From a1f13c26598fa93ec80a47d04ed04fde7225d40b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 095/249] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 0965bd213bed74f7c39785026ad4cbebf6137ef8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/249] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From a865748be782d56a0fabebcaeb9aaac270d6edf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/249] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From ba35b1354e5c8c9596e84980cb56619a7ef87528 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 098/249] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 25bec494d00b0de43457fab08470cf31ca2311f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/249] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cddbed8b4e7b9dbd344991a93d992b3f6f6931c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 100/249] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index b3f0ba49a90..04177ecbf11 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 11251350cc2693162f053ce471b3d7c1da70fe8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 101/249] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From a8167314cbfdb9e3108ad6b1cfad87c0062e5817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 102/249] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 03330293128bfb9f686461a79184cd164943733f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 103/249] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From f3c5c557bd7457ae3e27afcfd709d31c696681dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/249] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From b2caf04951a7656bab9a180b318b644c65605cd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/249] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 8ab192426025369c20a5dfe52201ee13a79ffe26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/249] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 26179c5f2cdb6e231da6c2e825e9ad1a7046325d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 107/249] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 43c48c19830c681c462bf58695cd4d525b5ef483 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 108/249] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 33db1d2cc198de5549cfa33bca5c408e66bd5ae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/249] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From f2df9ba9177d251961a9e3a9b32b4c01f2ae5a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/249] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 623458dc75e540c1966e4c29a91ab8916d749471 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 111/249] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 4c7f0395edacea8148a0f4d5ff340a10fb0fee21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 112/249] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From c74ab2674343c18be8ddf6293aada3a7ea42135a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/249] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From af8ecb0c46f41d810eecce7d9d9d9b07706ddca1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/249] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 5be33856d25a303202913c7aac6c594a1e16b05c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 115/249] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From df6b7d6ca110905482a4e621aee56d9a33264b06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 116/249] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From 5de99d5e10284877ee0c733793fa93e9e76e0428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/249] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From b3e0ac91dc55829760fad1b4f91e04fc1143f3cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 118/249] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 299582177d3f8cc422874f77fd05252865ec351b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/249] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 1b03df53ad9f977a98c8d778a6608c88263157ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 120/249] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From e034469badc21165a78823134e6983a2ba087c7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/249] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 32d2dda55e020d0ffc2208d4f9ca71acad0e6d3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 122/249] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From ac82e3d27006b0f89d0d2734573069d20a6ce813 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 123/249] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9d4f589b56a7a9009b9ca9096fc24c25dc189a30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/249] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From c08b4f821a2ec96aea4dcd07d0328a195b8206ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/249] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 3d1a371ee5ab7a5380e68b68e24a318ead704f1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/249] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From a66d7eded1618d2c7426838eab544ef9b924c8e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 127/249] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 52cef63b6cc9f30fee9c24517add69a4db00f045 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 128/249] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From 5df6eb3f536c717faf4c0e19e5430f0f2a9661df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/249] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9558e36b0087d7c5b9dd9d731529919e26c40c45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 130/249] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 50876cc30eee866947be87994b35fddc4c2f8432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/249] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From fa27d49742cfa14cd97b4fffe421d0c13ef3c35a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/249] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 82204289a97f49a3c861015acf3d05c1efe06b3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 133/249] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From a80c95414ec2ea00427fd54602a4ee4656adf957 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 134/249] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b93725dec9cea9255af643ceff393faacf5d60bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 135/249] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 127a6a6ebf97bc09cd6228be3ce2cc8c548b8dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/249] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 58cfd428349f49d2c439473c8f8621a09ba6fcf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/249] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From aaa58221006428956f22131917ae416727532529 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/249] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From b3dadb09199d6226a637998f3d3d9422d225454a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/249] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 7a2f6c752fbf086ba67c9540a64e1263fff40d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 140/249] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 1d356438a0698e97d45fe2c860b90988b73ef96b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 141/249] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 18de65a4eddd11f1607f49073123b23add79cd7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/249] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From d2f60dc65e8c96b7b2a007bd89bd66992b8d13a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/249] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 0ea0750f9ff956ca432001a26e2b4a640e41ae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/249] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 8d42d376749404ae09e1c5bc1e54a3bc6db1483b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/249] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From ed232fd513b19631ff02af98220e48aa785f82f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 146/249] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 8d8e51ec50e3faf636dbf843852026b2c4e27b1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 147/249] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 9d6d19c5942b2d4fb638977678a2db02e191a4c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 148/249] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 4e332a1b81b3b822416277153ca3c530ebc85d18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/249] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 4566affc242edf1adf7724306519b3f849f402a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 150/249] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 292b298f23f92a33d7cbb2b01b4345c2f40abf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 151/249] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 66d0ccdc9ffff656defbfdbe197419076a2a637d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 152/249] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From cc789cfbd2ef5738c917aa3d41398396b471ef34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/249] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From d166cd8c45d7f9f0acd8e9c7e9c7767b065b3ee5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 154/249] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 61c4763016c167a4fac6ad05729379387a4234d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/249] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 8818f7a96255fd5bcf724f5a6ceb50793d42f6a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 156/249] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 775f271222cd604b7ffc0765f0258e7e600dfaa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 157/249] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 24d0823f7244832d4e2043f2822b97849e6511d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/249] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 333ecf9a73bc7edf1b4c1c12d6a7561aec3ec5be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 159/249] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 6e53f56db8bac17247e5e553910d558c482b86d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 160/249] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From cc6abc05d6c111431d2599940d52e3206f1bf037 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 161/249] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 510206a2e6c400f0a49cc85886995bfe1a256db2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 162/249] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 629191d15ceaa7f94ce8ee439b633a3e47f492d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 163/249] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a325c5354007fbed7d3304843244b1f39176e7be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 164/249] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From df37fe447de3b6725fb60f9ffa41dbddf24b36c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/249] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From bd5a9508c8e33d7cb4ef64ba15e0fc3b180a42b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/249] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 06ae7f4a56d173ae798ff705241201dd1a5e62a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/249] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From f29ba9e5671df3b2a21c0fe9c9b21f0262a0b7ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 168/249] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From f7683cb8a786e424379144c967dddd9610655db1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 169/249] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 918024ac8812883fe2a301842a65bf743ee00697 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 170/249] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 43d746b8705e6337991f287f4fe4bcdd34d359a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/249] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From c2bbe7526197612efaad560df63406e840717337 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/249] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 3538d02cb3629a9b50df0a7c129eb30e20676ad1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/249] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From fcfae310196934daf77e504eb89f61417fba1443 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 174/249] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From dbd1aecb5d230b3456308c95ee8179c03c9a8581 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 175/249] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 00cc1d1940d1e2b612f9217a4f966735cc60a840 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/249] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From d9873d4b74ca5a670b19fc172bfa866081f53c5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/249] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 8d2ccd47d8f77d40d0a299a389ea9ee444480b24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/249] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From c1828571ad804770dc812ae27775dfd760060cd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/249] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 5679ea6ad0255534593158931829dbee5e15f5fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 180/249] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From 530780aadd1c099152b677af4c9b8b6fc75e1652 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 181/249] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 7c91be52795ae98816c30d0b7965663ec6a9b804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 182/249] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1684313d05f972599f15590736a80b79acae2484 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 183/249] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 4bb01f27f2ad29c8d5517cb4c07a5a3e4c5f942b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/249] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From b2e13c8072f4f3f91664ca8e0cde9843a0f4c4fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 185/249] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 75237fb3bfc50ba5d98b6b1aca1e4988f7f4361b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 186/249] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 77029a2a924dc947e1fa4b89ce321340fdbc16dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 187/249] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 9f2a2306f5cc21132ba866ef05cf1157e7a14ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 188/249] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From de35e46852ee2fdfead80f0cb3f15f0236cc9804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 189/249] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 39aa63e018e000f8581e527b67b0f2d738f0ae65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/249] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 1aa5451ad849c3f625d3872bd5b7562227bf6b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 191/249] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From c659eab3ee756441ec7e50e0f8d405d21e2d13d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 192/249] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 4b9309a325cee9a6c8713b2944392c16c72f5d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 193/249] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 716b81ae8c6a7c6d7fa19b76a6c27aaf10a047c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 194/249] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 60ad28b555ae2c8528ccf29f993cf83d2da4a313 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 195/249] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From dd9e85e4b23f2c877c884ac2dfcd987d2a29f868 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 196/249] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 1669dc8bab1d10308604d69b19251fc1da722740 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 197/249] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From c8b19f1697f665142a3e3ab228fa96c8ba2d1c6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 198/249] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 2efdfa1a0ceb833035018a3d0922ba9dccfa90d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 199/249] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 6e125c9ab4d6e6082726b237864c4e72913bb892 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 200/249] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 039470493c0c45d9ee45799a1e1e4eeba0152324 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 201/249] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From e18827235889feed51707b391a35f38f60a15140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/249] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index bc0eac1c42e..5bfb94b430d 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -20,6 +20,8 @@ alternatives="
  tftp:tftpd.8:/usr/share/man/man8/in.tftpd.8
  "
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 1928de810120cc6baedeb0b477053144ad51337d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/249] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2cec7bb90fcc686ffa8ed57fa1524a936daf7be8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 204/249] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From ab1cae34eac2f0c53c43242c6fd840c954899492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 205/249] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From a36b25fb8b3475992612cbbc2cb63a96cb4ddfb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 206/249] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 27beea50816067789886ee8afeec132f8691cbae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 207/249] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 250d3357c6a74d5558f8d3eb9b855b93370f901c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 208/249] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 67866d7b5f80638b3b4818c2bebfe3583bbf67ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 209/249] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From b20cb74fa5bd4b61d15a2eaa81d13b12079178ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 210/249] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From cc2ec94d6a037b4126778906d920224133b3e3bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 211/249] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 914a8cf0b45c062aba234863f75be8c9b9a9b29e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 212/249] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From df7f4602486090fbb2c6beb23b0a1aac8ad098fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 213/249] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From f15d9fd7b85e7dc6bea521330db4148a0c95a662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 214/249] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From c3d5c4e0e46dfd8c9b2ca27c419be934df489d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 215/249] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 731230f5679fce25f83652d79fcdead9efbbbf0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 216/249] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6babaaa943e39287181a7867f653735ea0a86bf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 217/249] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 89eb6a056699122a550e719753da17938b51ed0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 218/249] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 0b00fdbd1452bff5350bbd1adc05c7113f665a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 219/249] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 8d8e3dd597dd1037eeed2dc98ce9e17e847e0061 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 220/249] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 960827e1b1a1ec38b486ec0f2f42ef31426723ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 221/249] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 4bba4b706efd4a69c8f152bb29530b2eddfb06c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 222/249] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From 11e7244f06e061cce7b4733d6d6ebfe43cb0373c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 223/249] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 7b6456f56f54fc3d7725838b3c56e0a825edaded Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 224/249] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 782a090214673027c26b40db8658e7af80ca560f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 225/249] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 46e0c1e642da6e4064c6e389d27637065dfc19a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 226/249] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 0e4f7acc922d07fe5f75fa253862315b924676fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 227/249] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c856d9dd5b61044e42b47182882bb4e5a6edc1de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 228/249] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index b28d158df83..4ee9b8a8e32 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 9f76608765b4e8f55f73bebdd4ef22ef2a802f0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 229/249] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 5479c065ef0423b77754de5d29332384354d8319 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 230/249] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 3c1c8a758cda7bb7205cfe9591b7e34648811921 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 231/249] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From aa43a50ff91ed2dc9e37785ccfa14329bb09f70a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 232/249] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 87a067ab416885fb7ea9b2f20705d34bca3fa33a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 233/249] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From bc50986720e74147502f9fb338cf1a88971a12fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 234/249] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f9651b76c9d9bd99991898dc7d6c6798d270afe0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 235/249] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 155a630d2d9a673af7e9fa6dea6412788bf4ae9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 236/249] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From f1d58f5e14e9ed5c78b0f9392a8b3646bb88a2b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 237/249] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From bd375f7bca36f0b667ead90416e5dc92ba6adab0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 238/249] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From a4948a22702eff6325a9872463ac286e15d42263 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 239/249] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 0393e0cceed1a6a1f11dcb7ca0d134b90c111579 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 240/249] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fd79fc27e306551077502fc09f4a8cc45dd9049e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 241/249] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 2a61475db63abcffcc4c17d224dfb6861e22c3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 242/249] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From d996fe48248ea1e7b75b3f0bee6280bcb471dd53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 243/249] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From ffb86043142420944bae88b049e5f43b6dd74594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 244/249] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From a70defeb7ef3bc9a7ad1c1b5a87794a493936e8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 245/249] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 6ffa2960f73d638619bd7bef71828cb7afeb2b53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 246/249] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From e137c693c1a3f207b9e4ae912b81783478b4b1cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 247/249] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 50a1bd42a4ae21935f5b4f5b540b3ad71d796fb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 248/249] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From b88ddfbc0a04e6340f966b839c20562bf6c9d7cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Fri, 28 Aug 2020 18:21:18 +0200
Subject: [PATCH 249/249] freecad: revbump for vtk-9.0.1

---
 srcpkgs/freecad/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/freecad/template b/srcpkgs/freecad/template
index 9f296b6086c..b56d8227d60 100644
--- a/srcpkgs/freecad/template
+++ b/srcpkgs/freecad/template
@@ -1,7 +1,7 @@
 # Template file for 'freecad'
 pkgname=freecad
 version=0.18.4
-revision=7
+revision=8
 wrksrc="FreeCAD-${version}"
 build_style=cmake
 

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Updated] Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (49 preceding siblings ...)
  2020-08-28 16:19 ` [PR PATCH] [Updated] " pullmoll
@ 2020-08-28 16:20 ` pullmoll
  2020-08-28 16:20 ` pullmoll
                   ` (2 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-28 16:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

There is an updated pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages gcc10-fcommon
https://github.com/void-linux/void-packages/pull/24334

Packages which need -fcommon for gcc10
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

A patch file from https://github.com/void-linux/void-packages/pull/24334.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc10-fcommon-24334.patch --]
[-- Type: text/x-diff, Size: 241118 bytes --]

From 5e4ce2ce41ab47b23ab35a8e009f3d56c5ad818c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 001/249] 9base: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/9base/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template
index afce4956f2a..39325c85562 100644
--- a/srcpkgs/9base/template
+++ b/srcpkgs/9base/template
@@ -16,6 +16,8 @@ checksum=57640696d65a8acbaca5417f1db1dea5ebbc694e8bed0d4ee8a3229f4800dddd
 conflicts="plan9port"
 provides="plan9port-20160418_4"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	# These are platform specific, but aarch64 and mips have their
 	# program counter in the same place; we'll just use the ARM

From 17b2908ef9cc632d40c6ad57e427f04eb1441f15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:03 +0200
Subject: [PATCH 002/249] CellWriter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/CellWriter/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/CellWriter/template b/srcpkgs/CellWriter/template
index 9ed31456145..13f6816868f 100644
--- a/srcpkgs/CellWriter/template
+++ b/srcpkgs/CellWriter/template
@@ -12,3 +12,5 @@ license="GPL-2"
 homepage="https://github.com/risujin/cellwriter"
 distfiles="https://github.com/risujin/cellwriter/archive/${version}.tar.gz"
 checksum=17bb07226d4680b565b18a60494cb19cdf9067b427c8df7454c16d809de9963b
+
+CFLAGS="-fcommon"

From 37539718e477ab7e536f0b1a90e0ce952439479c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:38:00 +0200
Subject: [PATCH 003/249] OpenCPN: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/OpenCPN/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template
index d293fad1436..061cf4762fd 100644
--- a/srcpkgs/OpenCPN/template
+++ b/srcpkgs/OpenCPN/template
@@ -36,6 +36,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense src/glshim/LICENSE LICENSE.glshim
 }

From 463b3534d912bd04e120ba040d7075e0d42c6d03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:04 +0200
Subject: [PATCH 004/249] ProcDump-for-Linux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ProcDump-for-Linux/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ProcDump-for-Linux/template b/srcpkgs/ProcDump-for-Linux/template
index 2bd3f8a80cd..8da9e567ed7 100644
--- a/srcpkgs/ProcDump-for-Linux/template
+++ b/srcpkgs/ProcDump-for-Linux/template
@@ -13,6 +13,8 @@ distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
 checksum=f054dc4b3a59799ee9e53bf7ec0e1d9170ecde1037bd8fa8c3c3d7c9ba1a39c3
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 908f2e6985bd6c18ca6a45f75857b69ecd171494 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 005/249] XorCurses: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/XorCurses/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/XorCurses/template b/srcpkgs/XorCurses/template
index f3d0d5f5464..c36d399e27e 100644
--- a/srcpkgs/XorCurses/template
+++ b/srcpkgs/XorCurses/template
@@ -17,7 +17,7 @@ _cc() {
 
 do_build() {
 	local f o objs
-	CFLAGS+=" -std=gnu99 -Wall -Wextra"
+	CFLAGS+=" -std=gnu99 -Wall -Wextra -fcommon"
 	CFLAGS+=" -DDATADIR=\"/usr/share/${pkgname}\""
 	CFLAGS+=" -DVERSION=\"${version}\""
 	for f in ./*.c; do

From aac680bcc3aed01fb1b37e0b72ae8c5bfe53462d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 006/249] acme-client: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/acme-client/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/acme-client/template b/srcpkgs/acme-client/template
index e778658b3fd..d583ddfa476 100644
--- a/srcpkgs/acme-client/template
+++ b/srcpkgs/acme-client/template
@@ -15,7 +15,7 @@ homepage="https://kristaps.bsd.lv/acme-client/"
 distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
 checksum=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
 
-CFLAGS="-DHAVE_CONFIG_H"
+CFLAGS="-fcommon -DHAVE_CONFIG_H"
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
 esac

From c8b304743d34cd6d3a4185493ded52d6b466e07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 007/249] aircrack-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/aircrack-ng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/aircrack-ng/template b/srcpkgs/aircrack-ng/template
index 1225e4b10a9..8756af175ba 100644
--- a/srcpkgs/aircrack-ng/template
+++ b/srcpkgs/aircrack-ng/template
@@ -13,6 +13,8 @@ changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
 distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
 checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# does runtime detection, this actually breaks build
 	CFLAGS=${CFLAGS/-mno-altivec/}

From 40beda462922a4b67d3cfbc4feec6bb4dc855f06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:05 +0200
Subject: [PATCH 008/249] alarm-clock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alarm-clock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alarm-clock/template b/srcpkgs/alarm-clock/template
index 1436fea25b9..8c2fd84b812 100644
--- a/srcpkgs/alarm-clock/template
+++ b/srcpkgs/alarm-clock/template
@@ -12,6 +12,8 @@ license="GPL-3.0-or-later"
 distfiles="https://github.com/shaggytwodope/alarm-clock/archive/v${version}.tar.gz"
 checksum=3724a42801befaee631d249edd8b15318bb72ae5f9db918c25de513f4c3f4538
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 550230a6430e5d793bb69e2b53b32e19bbaa44ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:06 +0200
Subject: [PATCH 009/249] alttab: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/alttab/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/alttab/template b/srcpkgs/alttab/template
index e17903fff24..66d8da9af66 100644
--- a/srcpkgs/alttab/template
+++ b/srcpkgs/alttab/template
@@ -13,6 +13,8 @@ homepage="https://github.com/sagb/alttab"
 distfiles="https://github.com/sagb/alttab/archive/v${version}.tar.gz"
 checksum=d170425a34d1a92cf0eb5ba7306bf77729a6c04f211593cc5fdd8a0ab583a280
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	makedepends+=" musl-fts-devel"

From aef469ded0f4dcc7bd12d6f4511803613942011c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:40:27 +0200
Subject: [PATCH 010/249] arcan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/arcan/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template
index 9e2b638d9ef..2e97c411161 100644
--- a/srcpkgs/arcan/template
+++ b/srcpkgs/arcan/template
@@ -25,6 +25,7 @@ else
 	makedepends+=" LuaJIT-devel"
 fi
 
+CFLAGS="-fcommon"
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	CFLAGS="-latomic"

From a012ae358eb7b41f06080da704c40ee0b7724a8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:07 +0200
Subject: [PATCH 011/249] argyllcms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/argyllcms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template
index 230f2ce28e8..dd10c965b47 100644
--- a/srcpkgs/argyllcms/template
+++ b/srcpkgs/argyllcms/template
@@ -16,6 +16,8 @@ checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3
 # Build system look only under / for headers and libraries. Breaks cross.
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
 }

From 55a2577a994b2dc9dfd412aefa8ccf2509fde570 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:40:03 +0200
Subject: [PATCH 012/249] atomix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/atomix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/atomix/template b/srcpkgs/atomix/template
index 78c47f01303..392b68f995e 100644
--- a/srcpkgs/atomix/template
+++ b/srcpkgs/atomix/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Atomix"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=0054c3b3830f1fe4383e17d716e6034b608859f4352a102130c13156894a2041
+
+CFLAGS="-fcommon"

From fe7e8ccc8b6296fbaa8b23845e4418b2057fda20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:08 +0200
Subject: [PATCH 013/249] audit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/audit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template
index 4d8d2fbe12a..547598938b2 100644
--- a/srcpkgs/audit/template
+++ b/srcpkgs/audit/template
@@ -16,6 +16,8 @@ homepage="https://people.redhat.com/sgrubb/audit"
 distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-zos-remote" ;;
 	*) ;;

From 0cdb69cf20fd578205e593cbd2cea78e55712c47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:41:58 +0200
Subject: [PATCH 014/249] awesome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/awesome/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/awesome/template b/srcpkgs/awesome/template
index 9f213ec29e8..337654d21f0 100644
--- a/srcpkgs/awesome/template
+++ b/srcpkgs/awesome/template
@@ -35,6 +35,8 @@ else
 	depends+=" lua53-lgi>=0.7.2"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Russian manpages fail to build.
 	vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt

From d7c89a4b0a4028fc5c6a09ea51ef891bd02d5a72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:11 +0200
Subject: [PATCH 015/249] bftpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bftpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template
index fa81603ad89..f2cd62ff411 100644
--- a/srcpkgs/bftpd/template
+++ b/srcpkgs/bftpd/template
@@ -13,6 +13,8 @@ homepage="http://bftpd.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
 checksum=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
 }

From 00a9b1e4c410b41d95cb104e9b2f606ad7166575 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:12 +0200
Subject: [PATCH 016/249] bird: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bird/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template
index 40e6939ac2d..1b6dd7be22b 100644
--- a/srcpkgs/bird/template
+++ b/srcpkgs/bird/template
@@ -15,6 +15,8 @@ checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
 conf_files="/etc/bird.conf"
 system_accounts="_bird"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	mv -v ${wrksrc/-/-v} $wrksrc
 }

From 1383260e3097dc4839e5794ca9a601ed2a6d8a94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:13 +0200
Subject: [PATCH 017/249] bitchx: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bitchx/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template
index 53278edc409..55ca42d63d4 100644
--- a/srcpkgs/bitchx/template
+++ b/srcpkgs/bitchx/template
@@ -13,3 +13,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2
 
 disable_parallel_build=yes
+
+CFLAGS="-fcommon"

From 9aeb84a5c4fa996c261a2babe4d747ce234104bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:14 +0200
Subject: [PATCH 018/249] bluez-alsa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bluez-alsa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 17d4cc79526..e2fbdaca0e0 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -16,6 +16,8 @@ checksum=6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0
 system_accounts="_bluez_alsa"
 _bluez_alsa_groups="audio"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From e1aa9fff9799b0e43bbb9069110badbe7f3e6f8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:16 +0200
Subject: [PATCH 019/249] bolt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bolt/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template
index 2776c52995c..70938cf621c 100644
--- a/srcpkgs/bolt/template
+++ b/srcpkgs/bolt/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${
 checksum=18dee2a08860cff963d505e382aa5ea9f6a90c0d0279854063839e4a02426e96
 patch_args="-Np1"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv boltd
 }

From 3111ad27519d280985f1a0d90366ca962efe1d82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 020/249] bspwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bspwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bspwm/template b/srcpkgs/bspwm/template
index 91fa6c38351..a65e3d5f6db 100644
--- a/srcpkgs/bspwm/template
+++ b/srcpkgs/bspwm/template
@@ -11,6 +11,8 @@ homepage="https://github.com/baskerville/bspwm"
 distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
 checksum=b1438c3cad13b6101edb31ce8d00ba4ed2f972754e85b90f763e04fa5143c6fc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 3de3edb668c874e007960324e871e2f678f0645d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 021/249] bumblebee: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/bumblebee/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template
index 8e149dfe7c7..c54ea65d32c 100644
--- a/srcpkgs/bumblebee/template
+++ b/srcpkgs/bumblebee/template
@@ -25,6 +25,8 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
 checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
 system_groups="bumblebee"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 43a33d8ae9a13e8d698fc7696fa27d6890fe7e36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:46:10 +0200
Subject: [PATCH 022/249] cairo-dock-plugins: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cairo-dock-plugins/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template
index 4c547d2f33b..0b7836b6d91 100644
--- a/srcpkgs/cairo-dock-plugins/template
+++ b/srcpkgs/cairo-dock-plugins/template
@@ -16,15 +16,17 @@ license="GPL-2"
 homepage="https://launchpad.net/cairo-dock"
 distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
 checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
-esac
 patch_args="-Np1"
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python-devel python3-devel"
 fi
 
+CFLAGS="-fcommon"
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	CFLAGS+=" -D_GNU_SOURCE"
+fi
+
 pre_configure() {
 	# Disable Logout plugin
 	echo -n > logout/CMakeLists.txt

From 4952547fe5454655dc611057dba6b91e1b679e6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:41:35 +0200
Subject: [PATCH 023/249] captain-ballard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/captain-ballard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/captain-ballard/template b/srcpkgs/captain-ballard/template
index a44227d95e0..0fb4c724920 100644
--- a/srcpkgs/captain-ballard/template
+++ b/srcpkgs/captain-ballard/template
@@ -12,6 +12,8 @@ homepage="https://github.com/LinArcX/captain-ballard/"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=343a6cb396fd292f2f4dbe22bfe432dcf5bae207a3d7b543cef8134efbaa2d56
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin ./release/captain-ballard
 	vinstall ./appconf/captain-ballard.svg 644 usr/share/pixmaps

From 65f43a8d8ad85fce92e85e055a4675c861df59d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:17 +0200
Subject: [PATCH 024/249] catimg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/catimg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template
index 4781801b627..67ae1e1d668 100644
--- a/srcpkgs/catimg/template
+++ b/srcpkgs/catimg/template
@@ -10,6 +10,8 @@ homepage="https://github.com/posva/catimg"
 distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
 checksum=53d6cbb5844424a4e8422b54c873c301c5ad0f286249c73b2e1a790dda991a3b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From e9bcf2ac397dc92d4a13318e844dfc006fe7aa14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 025/249] ccextractor: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccextractor/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 7b69c1fba7f..c766b264779 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -14,7 +14,7 @@ homepage="https://www.ccextractor.org/"
 changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
 distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
 checksum=e0bfad4c7cf5d8a05305107ab53829a33b209446aaec515d5c51b72392b1eda7
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
 
 pre_configure() {
 	sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac

From a8eca30bb5390748ebbb3cc687f8c4874b65dd75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 026/249] ccl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ccl/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template
index 70917ae7f70..5972ddeb0ce 100644
--- a/srcpkgs/ccl/template
+++ b/srcpkgs/ccl/template
@@ -24,12 +24,13 @@ python_version=3
 
 case $XBPS_MACHINE in
 	x86_64*) _arch=64 ;;
-	i686*) broken="Build hangs forever" ;;
+	i686-musl) broken="SIGSEGV accessing context->regs: address not mapped to object" ;;
 	*) _arch='' ;;
 esac
 
 post_extract() {
 	mv ccl-${version}/* .
+	vsed -i -e"/^COPT =/s/$/ -fcommon/" lisp-kernel/*/Makefile
 }
 
 do_build() {

From ed7c5ea62510019b72be14b420f04e093461f099 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 027/249] cdemu-daemon: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cdemu-daemon/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cdemu-daemon/template b/srcpkgs/cdemu-daemon/template
index 66b1f128663..156083427b5 100644
--- a/srcpkgs/cdemu-daemon/template
+++ b/srcpkgs/cdemu-daemon/template
@@ -12,3 +12,5 @@ license="GPL-2.0-or-later"
 homepage="http://cdemu.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/cdemu/cdemu-daemon-${version}.tar.bz2"
 checksum=a6b32d4b78631e5f449f05f8d26b7f2f46dd3e82387f5855ccabb4933592de0b
+
+CFLAGS="-fcommon"

From cffd69efa52d9bbf70739ccfef1e3e4634dee45b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 028/249] cgminer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cgminer/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
index 478b762e215..c8add74d08f 100644
--- a/srcpkgs/cgminer/template
+++ b/srcpkgs/cgminer/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ckolivas/cgminer"
 distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# We have latest jansson and libusb - just use them
 	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \

From 1eafef2b67ccefb6c704147158cdc3fa11811ebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 029/249] chocolate-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chocolate-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/chocolate-doom/template b/srcpkgs/chocolate-doom/template
index 90e12adf7d8..93374e8717d 100644
--- a/srcpkgs/chocolate-doom/template
+++ b/srcpkgs/chocolate-doom/template
@@ -13,6 +13,8 @@ homepage="https://www.chocolate-doom.org/"
 distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
 checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From be0273b22bd4f9591cf0fa18c7191d3bc92a79b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 030/249] chroot-distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/chroot-distcc/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template
index 07414f2cfb3..438131e14ea 100644
--- a/srcpkgs/chroot-distcc/template
+++ b/srcpkgs/chroot-distcc/template
@@ -17,6 +17,7 @@ distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc
 checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc
 
 conflicts="distcc>=0"
+CFLAGS="-fcommon"
 
 pre_configure() {
 	# Copy files generated by package distcc running autogen.sh

From 6cd1e08b666bb1070199b542c561282662206e46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:42:45 +0200
Subject: [PATCH 031/249] ckb-next: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ckb-next/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template
index c6925c6691d..e0906af62ce 100644
--- a/srcpkgs/ckb-next/template
+++ b/srcpkgs/ckb-next/template
@@ -15,6 +15,8 @@ checksum=75b6908d5590c293dee8258a83d4ebe206306d3df9f867596e953ef7c6a86440
 build_options="pulseaudio"
 desc_option_pulseaudio="Enable support for music visualizer animation"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ckb-next-daemon
 }

From db8972e56bafc4354a32f882073fe30580df7ff9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:41:56 +0200
Subject: [PATCH 032/249] cnijfilter2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cnijfilter2/template | 85 +++++++++++++++---------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
index cd54cf89ffa..426119526d9 100644
--- a/srcpkgs/cnijfilter2/template
+++ b/srcpkgs/cnijfilter2/template
@@ -1,13 +1,11 @@
 # Template file for 'cnijfilter2'
-
-_upstreamversion="5.70-1"
-
 pkgname=cnijfilter2
 version=5.70
 revision=1
-wrksrc=cnijfilter2-source-${_upstreamversion}
+_uprevision=-1
 archs="i686 x86_64"
-repository=nonfree
+wrksrc=cnijfilter2-source-${version}${_uprevision}
+build_style=gnu-configure
 hostmakedepends="automake autoconf libtool"
 makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
 depends="cups libusb libxml2"
@@ -15,61 +13,48 @@ short_desc="Canon printer drivers for a number of PIXMA models"
 maintainer="Ralph van Etten <ralph@et10.org>"
 license="custom:canon,GPL-2.0-or-later"
 homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
-distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${version}${_uprevision}.tar.gz"
 checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
-nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+repository=nonfree
 
-case $XBPS_TARGET_MACHINE in
-	x86_64)
-		_arc=64
-		;;
-	i686)
-		_arc=32
-		;;
-	*)
-		_arc=0
-		;;
-esac
+CFLAGS="-fcommon"
 
 do_configure() {
-	if [ "_arc" = "0" ]
-	then
-		echo "Unsupported architecture $XBPS_TARGET_MACHINE"
-		exit 1
-	fi
-
-	( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
-	( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
-	( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+	local _libs="-L../../com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Configuring ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		./autogen.sh ${configure_args} \
+			--enable-progpath=/usr/bin \
+			--enable-libpath=/usr/lib/bjlib2 \
+			CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $_libs"
+		# Force submodules to use our CFLAGS
+		vsed -i */Makefile -e "s;^CFLAGS =.*;& $CFLAGS;"
+	done
 }
 
 do_build() {
-	( cd ./cmdtocanonij2 && make clean && make )
-	( cd ./cmdtocanonij3 && make clean && make )
-	( cd ./cnijbe2 && make clean && make )
-	( cd ./lgmon3 && make clean && make )
-	( cd ./rastertocanonij && make clean && make )
-	( cd ./tocanonij && make clean && make )
-	( cd ./tocnpwg && make clean && make )
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Building ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make clean
+		make ${makejobs}
+	done
 }
 
 do_install() {
-	( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
-	( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
-	( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
-	( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
-	( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
-	( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
-
-	vmkdir /usr/lib/bjlib2
-	vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+	local _libs="com/libs_bin${XBPS_TARGET_WORDSIZE}"
+	for pkg in cmdtocanonij{2,3} cnijbe2 lgmon3 {raster,}tocanonij tocnpwg; do
+		msg_normal "Installing ${pkg} ...\n"
+		cd ${wrksrc}/${pkg}
+		make DESTDIR=${DESTDIR} install
+	done
+	cd ${wrksrc}
+
+	vmkdir usr/lib/bjlib2
+	vinstall com/ini/cnnet.ini 644 usr/lib/bjlib2
 	vmkdir /usr/share/ppd/cnijfilter2
-	vcopy "com/libs_bin${_arc}/lib*" /usr/lib
-	vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+	vcopy "${_libs}/lib*" usr/lib
+	vcopy "ppd/*.ppd" usr/share/ppd/cnijfilter2
 	vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
 }

From 2e6f2489de9156174726973da13dce2c3e199189 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:18 +0200
Subject: [PATCH 033/249] cpat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpat/template b/srcpkgs/cpat/template
index cc668b1588b..67afc1e9ad6 100644
--- a/srcpkgs/cpat/template
+++ b/srcpkgs/cpat/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="https://sourceforge.net/projects/cpat/"
 distfiles="$SOURCEFORGE_SITE/cpat/cpat/${version}/cpat-${version}.tar.gz"
 checksum=48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327
+
+CFLAGS="-fcommon"

From cfeb1014ced15991b7ec3783d09ed4bcf760f548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 034/249] cpio: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cpio/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template
index 2c91ad1cb1a..26a591593d5 100644
--- a/srcpkgs/cpio/template
+++ b/srcpkgs/cpio/template
@@ -12,6 +12,8 @@ homepage="http://www.gnu.org/software/cpio/"
 distfiles="${GNU_SITE}/cpio/cpio-${version}.tar.bz2"
 checksum=eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From ecb19e9ed7fe1eac02e80a9b9f581e8d6b100cf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 035/249] crispy-doom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/crispy-doom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/crispy-doom/template b/srcpkgs/crispy-doom/template
index 481b971ac94..e0751c13649 100644
--- a/srcpkgs/crispy-doom/template
+++ b/srcpkgs/crispy-doom/template
@@ -13,6 +13,8 @@ homepage="https://github.com/fabiangreffrath/crispy-doom"
 distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
 checksum=6f8ac1e9373b06e5c74c6c3eeb7b7374eba7650e708c4c1df336fc8d3b3700fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 8ba715753ad39a2d27c248c7b47acada6c0d4573 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 036/249] cross-arm-none-eabi-gdb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/cross-arm-none-eabi-gdb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/cross-arm-none-eabi-gdb/template b/srcpkgs/cross-arm-none-eabi-gdb/template
index 42cfac61acd..798295baef8 100644
--- a/srcpkgs/cross-arm-none-eabi-gdb/template
+++ b/srcpkgs/cross-arm-none-eabi-gdb/template
@@ -38,6 +38,8 @@ build_options="guile python"
 build_options_default=" "
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# resolve conflicts with binutils and native gdb
 	rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}

From 023baf9fc62098e60f23ca9d5cf05038e18e46d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 037/249] csound: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/csound/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template
index e9f17a3400b..4539bf3a087 100644
--- a/srcpkgs/csound/template
+++ b/srcpkgs/csound/template
@@ -19,7 +19,8 @@ homepage="https://csound.com/"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
 checksum=bef349c5304b2d3431ef417933b4c9e9469c0a408a4fa4a98acf0070af360a22
 
-CXXFLAGS="-Wno-error"
+CFLAGS="-fcommon"
+CXXFLAGS="-Wno-error -fcommon"
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" libexecinfo-devel";;

From 662c20a85a1cf220a35d3e8851fbf2d9833721f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 038/249] dav: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dav/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dav/template b/srcpkgs/dav/template
index 53faee4e44f..97c5c70848a 100644
--- a/srcpkgs/dav/template
+++ b/srcpkgs/dav/template
@@ -14,6 +14,8 @@ license="GPL-2"
 distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
 checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# fix for env LDFLAGS
 	sed -i '/^LDFLAGS/d' Makefile

From 9da87866b17fd1ddb36f8f40b48978e1edba3023 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 039/249] davfs2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/davfs2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template
index 5015727ed8f..d94b71a70e6 100644
--- a/srcpkgs/davfs2/template
+++ b/srcpkgs/davfs2/template
@@ -14,6 +14,8 @@ homepage="https://savannah.nongnu.org/projects/davfs2"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=417476cdcfd53966b2dcfaf12455b54f315959b488a89255ab4b44586153d801
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From aa7a5f84056971c0afcc18a8d7eae018a84a73b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:19 +0200
Subject: [PATCH 040/249] dhcp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dhcp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template
index 0af93fb9e6a..d31df6728c1 100644
--- a/srcpkgs/dhcp/template
+++ b/srcpkgs/dhcp/template
@@ -21,6 +21,8 @@ conf_files="/etc/dhcpd.conf"
 
 make_dirs="/var/lib/dhcp 0755 root root"
 
+CFLAGS="-fcommon"
+
 post_patch() {
 	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 		vsed -i "/LIBATOMIC=/s/$/-latomic/" configure.ac

From c05983b63a93ef3e9f053e43bb9a5af42c83da78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 041/249] dieharder: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dieharder/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template
index 055410a67eb..eaa5ab38c16 100644
--- a/srcpkgs/dieharder/template
+++ b/srcpkgs/dieharder/template
@@ -12,7 +12,7 @@ distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.
 checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
 disable_parallel_build=yes
 
-CFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
 
 post_configure() {
 	sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,

From 5e962053fdc13b60a86fcedc194bee33c4054777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 042/249] dillo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dillo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template
index def56464ac2..126f0b411c8 100644
--- a/srcpkgs/dillo/template
+++ b/srcpkgs/dillo/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://www.dillo.org/download/"
 distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
 checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
+
+CFLAGS="-fcommon"

From 47b0eea64db2ddd3a3c7569a29ac1b4076774070 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 043/249] distcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/distcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template
index 28f6ac420e7..5d5d40a5b5f 100644
--- a/srcpkgs/distcc/template
+++ b/srcpkgs/distcc/template
@@ -19,6 +19,8 @@ conflicts="chroot-distcc>=0"
 
 subpackages="distcc-gtk"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --disable-pump-mode"
 else

From ff56840b113eaa71957f93a5fba077bec847d533 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 044/249] dmenu-wayland: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dmenu-wayland/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dmenu-wayland/template b/srcpkgs/dmenu-wayland/template
index d36244bbbe7..423c8ff3c63 100644
--- a/srcpkgs/dmenu-wayland/template
+++ b/srcpkgs/dmenu-wayland/template
@@ -13,6 +13,8 @@ homepage="https://github.com/nyyManni/dmenu-wayland"
 distfiles="https://github.com/nyyManni/dmenu-wayland/archive/v${version}.tar.gz"
 checksum=dcbc70156e138b2bb8788aeebf75af14f75e188ed78865840e341b5375ed6614
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From fac9c403121b186ca505c3bda719523c05eb66ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 045/249] dpdk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/dpdk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template
index 0f3b5630b7b..30a7e6b5f5c 100644
--- a/srcpkgs/dpdk/template
+++ b/srcpkgs/dpdk/template
@@ -25,6 +25,8 @@ case "${XBPS_TARGET_MACHINE}" in
 		   *) configure_args+=" -Dmachine=default"
 esac
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/lib/modules-load.d
 	vlicense license/bsd-3-clause.txt

From 0c588e4141f162c8328f24a4d4de35a441b01411 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 046/249] drbd-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/drbd-utils/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template
index c53334a9200..10574a2bee1 100644
--- a/srcpkgs/drbd-utils/template
+++ b/srcpkgs/drbd-utils/template
@@ -5,17 +5,17 @@ revision=1
 build_style=gnu-configure
 build_helper="qemu"
 configure_args="
- --sbindir=/usr/bin \
- --prefix=/usr \
- --exec-prefix=/usr \
- --libexecdir=/usr/libexec \
- --with-distro=generic \
- --with-bashcompletion \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
+ --sbindir=/usr/bin
+ --prefix=/usr
+ --exec-prefix=/usr
+ --libexecdir=/usr/libexec
+ --with-distro=generic
+ --with-bashcompletion
+ --with-udev
+ --without-rgmanager
+ --without-pacemaker
+ --without-heartbeat
+ --without-83support
  --without-xen"
 conf_files="
  /etc/drbd.conf
@@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" drbd-utils"
 fi
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
 	NOCONFIGURE=1 ./autogen.sh

From 57a025f1f1c0eaa2984cd9e5caa4162d94a7e386 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 047/249] duperemove: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/duperemove/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index ec683a859c8..679878c97b0 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -12,7 +12,7 @@ distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
 checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
 
 do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
+	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
 }
 do_install() {
 	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install

From 9eafd9f9225c5f7d4372c1a817628ed0a016d347 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 048/249] edbrowse: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/edbrowse/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/edbrowse/template b/srcpkgs/edbrowse/template
index cbc3fe32a7d..b5bdd2a2e05 100644
--- a/srcpkgs/edbrowse/template
+++ b/srcpkgs/edbrowse/template
@@ -13,6 +13,8 @@ homepage="http://edbrowse.org/"
 distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
 checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin build/edbrowse
 	vsconf doc/sample.ebrc

From 4b1b308b047d83e5c812d26f0d6df3d0aa896ce6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 049/249] ettercap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ettercap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template
index bf024b6fda2..772c073b6d2 100644
--- a/srcpkgs/ettercap/template
+++ b/srcpkgs/ettercap/template
@@ -14,3 +14,5 @@ homepage="http://ettercap.github.com/ettercap/"
 distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz"
 checksum=f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81
 lib32disabled=yes
+
+CFLAGS="-fcommon"

From 5b1b283580034367ed38eac4ae93aade5419740c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:20 +0200
Subject: [PATCH 050/249] eukleides: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/eukleides/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template
index be405403cb8..18543b392ca 100644
--- a/srcpkgs/eukleides/template
+++ b/srcpkgs/eukleides/template
@@ -13,6 +13,8 @@ distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2"
 checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i -e 's/^CFLAGS =/override CFLAGS +=/' \
 		-e 's/^LDFLAGS =/override LDFLAGS +=/' \

From eb7a30d3d5052aa737973a8f21787d6b2516dc35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 051/249] fbida: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fbida/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template
index 9174d8e7b48..170baf031b7 100644
--- a/srcpkgs/fbida/template
+++ b/srcpkgs/fbida/template
@@ -30,6 +30,8 @@ if [ "$build_option_ida" ]; then
 	subpackages+=" fbida-ida"
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vdoc README
 	vdoc Changes

From 962f0bbb5e5ed27add9c6065507bcb05e44a137c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 052/249] file-roller: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/file-roller/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/file-roller/template b/srcpkgs/file-roller/template
index 5fb76d97307..03622a22313 100644
--- a/srcpkgs/file-roller/template
+++ b/srcpkgs/file-roller/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/FileRoller"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=b9144de8f536f583ec29d703c2c170bf2d00c6c166cd5e3f7efabda551f10478
+
+CFLAGS="-fcommon"

From 688d1f7edb9b7b25c79023cb56055bfab91c2140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 053/249] foremost: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/foremost/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template
index e8cc7dcc0a6..d4f13a8e336 100644
--- a/srcpkgs/foremost/template
+++ b/srcpkgs/foremost/template
@@ -10,6 +10,8 @@ homepage="http://foremost.sourceforge.net/"
 distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
 checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
 
+CFLAGS="-fcommon"
+
 do_configure() {
 	sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
 }

From 6a10c01fdd95c58166f4f665e28ff808b0d8728b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 054/249] fprintd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fprintd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index b256567badf..11e0922ea43 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -16,6 +16,8 @@ distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${versio
 checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	glib-gettextize -c -f
 	gtkdocize --copy

From 290a435bd4dcf087a85d69e6a5b1587e0550ba48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 055/249] freedroidClassic: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidClassic/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template
index d36ffa94f89..fe8b987c8ac 100644
--- a/srcpkgs/freedroidClassic/template
+++ b/srcpkgs/freedroidClassic/template
@@ -14,6 +14,8 @@ homepage="http://freedroid.org"
 distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz"
 checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From b87cc192b7d1fef4f55eb53742cf808befe6e8ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:49 +0200
Subject: [PATCH 056/249] freedroidRPG: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/freedroidRPG/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index b1cb939802a..8d4fbd70207 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -16,9 +16,11 @@ distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgnam
 checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
 python_version=2
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl)	configure_args+=" --disable-backtrace"
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-backtrace"
+fi
+
+CFLAGS="-fcommon"
 
 post_install() {
 	local script=freedroid

From 4397cea49e10f67683fb8495e90956da48effaaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:21 +0200
Subject: [PATCH 057/249] frotz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/frotz/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frotz/template b/srcpkgs/frotz/template
index 45a2126df9f..1b44e1ddbfe 100644
--- a/srcpkgs/frotz/template
+++ b/srcpkgs/frotz/template
@@ -13,6 +13,7 @@ homepage="http://frotz.sourceforge.net/"
 distfiles="https://github.com/DavidGriffith/frotz/archive/${version}.tar.gz"
 checksum=dbb5eb3bc95275dcb984c4bdbaea58bc1f1b085b20092ce6e86d9f0bf3ba858f
 
+CFLAGS="-fcommon"
 
 pre_build() {
 	sed -i Makefile \

From 56f1835c0c5aff25cfd6098251a0c0e0a5b56d3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:43:13 +0200
Subject: [PATCH 058/249] fwknop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/fwknop/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fwknop/template b/srcpkgs/fwknop/template
index 7ae4aa9f99c..099c265403c 100644
--- a/srcpkgs/fwknop/template
+++ b/srcpkgs/fwknop/template
@@ -8,12 +8,14 @@ hostmakedepends="iptables"
 makedepends="libpcap-devel gpgme-devel"
 short_desc="Single Packet Authorization (SPA) implementation"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.cipherdyne.org/fwknop/"
 changelog="https://raw.githubusercontent.com/mrash/fwknop/master/ChangeLog"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
 checksum=2b15050bae92ec5210fcac944a7aa4bf9c651333a2b2960aabcd5cfc1d527cf1
 
+CFLAGS="-fcommon"
+
 fwknopd_package() {
 	depends="iptables libfko>=${version}_${revision}"
 	conf_files="/etc/fwknop/*.conf"

From b4e4035ba7834db6562c90128efbe191a8711414 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 059/249] galculator-gtk3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/galculator-gtk3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/galculator-gtk3/template b/srcpkgs/galculator-gtk3/template
index e7eb3aacb69..806e4f08232 100644
--- a/srcpkgs/galculator-gtk3/template
+++ b/srcpkgs/galculator-gtk3/template
@@ -16,6 +16,8 @@ checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
 provides="galculator-${version}_${revision}"
 replaces="galculator-gtk2>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p gtk2
 	mv * gtk2 || true

From e4dfb476d2971e89e064ccf20638af8f66a142a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 060/249] garden: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/garden/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/garden/template b/srcpkgs/garden/template
index a28abb9cbce..e022b727f1b 100644
--- a/srcpkgs/garden/template
+++ b/srcpkgs/garden/template
@@ -13,6 +13,8 @@ homepage="http://garden.sourceforge.net/drupal/"
 distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
 checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
 	vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c

From de92560fd5b27f676f8cc61baf7d45a8907f2708 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:02:04 +0200
Subject: [PATCH 061/249] gatling: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gatling/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template
index c34e3f8d811..653c93c5ca7 100644
--- a/srcpkgs/gatling/template
+++ b/srcpkgs/gatling/template
@@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
 checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
 make_build_target="gatling dl getlinks"
 make_install_args="prefix=/usr MANDIR=/usr/share/man"
-CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
+
+CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
+
+pre_build() {
+	vsed -i GNUmakefile \
+		-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
+		-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
+}
 
 pre_install() {
 	vmkdir usr/share/man/man1

From 03e8e5cc97424a6ee0eed42b728fe68661eccd24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 062/249] gcolor2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gcolor2/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template
index ccb764556a0..4aec89567aa 100644
--- a/srcpkgs/gcolor2/template
+++ b/srcpkgs/gcolor2/template
@@ -12,6 +12,8 @@ homepage="http://gcolor2.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/\[:space:\]/[&]/g' configure
 }

From bc8839d9aaa769ed20f179bacad36c9bba431e67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 063/249] gdbm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gdbm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gdbm/template b/srcpkgs/gdbm/template
index 4f112bb3a85..2327fab19e1 100644
--- a/srcpkgs/gdbm/template
+++ b/srcpkgs/gdbm/template
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
 	}
 fi
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# create symlinks for compatibility
 	vmkdir usr/include/gdbm

From 90cc14b1253baab52a7319525bbf267a77359475 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 17:24:50 +0200
Subject: [PATCH 064/249] geeqie: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/geeqie/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template
index 8d136c84ad0..2681f31e3ef 100644
--- a/srcpkgs/geeqie/template
+++ b/srcpkgs/geeqie/template
@@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
 checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
 patch_args="-Np1"
 
+CFLAGS="-Wno-error -fcommon"
+
 post_extract() {
 	# Missing from release tarball, and requires git tree to generate
 	sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
@@ -24,9 +26,7 @@ post_extract() {
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
-# musl gives many warnings and stops compiling after many warnings
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+
 do_build() {
-	make CFLAGS="$CFLAGS -Wno-error"
+	make ${makejobs} CFLAGS="${CFLAGS}"
 }
-fi

From 44f09b3f8508f7006e9394ffdba9467c1304abcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 065/249] gegl3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gegl3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gegl3/template b/srcpkgs/gegl3/template
index a8e2391ab70..64d644fcf2a 100644
--- a/srcpkgs/gegl3/template
+++ b/srcpkgs/gegl3/template
@@ -18,6 +18,8 @@ homepage="https://www.gimp.org/"
 distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
 checksum=152f87604a5a191775329dfb63764efa1d5c32403d1438da68e242f96b7d23ff
 
+CFLAGS="-fcommon"
+
 post_install() {
 	# Resolves conflict with gegl
 	mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3

From a52767a66d1d648f463278842fd274c3a5224d90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:22 +0200
Subject: [PATCH 066/249] gerbv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gerbv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gerbv/template b/srcpkgs/gerbv/template
index a92d54749f6..b9ccff8efad 100644
--- a/srcpkgs/gerbv/template
+++ b/srcpkgs/gerbv/template
@@ -12,3 +12,5 @@ license="GPL-3.0-or-later"
 homepage="http://gerbv.geda-project.org"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
+
+CFLAGS="-fcommon"

From 0889c8af60df8d2c01b87b40d642387f4a3b2049 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 067/249] giggle: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/giggle/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index d79ecdffb63..9da11473757 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -15,6 +15,8 @@ checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
 nocross=yes
 
+CFLAGS="-fcommon"
+
 libgiggle_package() {
 	short_desc+=" - runtime libraries"
 	pkg_install() {

From edf0ca1f08df74137a7dc01dd5f540e72bfa864e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 068/249] gimp-lqr-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gimp-lqr-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gimp-lqr-plugin/template b/srcpkgs/gimp-lqr-plugin/template
index 788114724bc..6a49a881e8f 100644
--- a/srcpkgs/gimp-lqr-plugin/template
+++ b/srcpkgs/gimp-lqr-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="http://liquidrescale.wikidot.com/"
 distfiles="http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/gimp-lqr-plugin-${version}.tar.bz2"
 checksum=169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
+
+CFLAGS="-fcommon"

From 594ae2f3acd43687ecc90e7d0313ef01e8489bd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 069/249] glabels: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/glabels/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/glabels/template b/srcpkgs/glabels/template
index 9cec704ca3d..f23ce30084b 100644
--- a/srcpkgs/glabels/template
+++ b/srcpkgs/glabels/template
@@ -13,6 +13,8 @@ homepage="http://glabels.org/"
 distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
 checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
 
+CFLAGS="-fcommon"
+
 libglabels30_package() {
 	short_desc+=" - library files"
 	pkg_install() {

From f65b08dc1171f102eed9cf0c96839be741d38732 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 070/249] global: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/global/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/global/template b/srcpkgs/global/template
index 9eea5eb4fb0..983db1bec97 100644
--- a/srcpkgs/global/template
+++ b/srcpkgs/global/template
@@ -14,3 +14,5 @@ homepage="https://www.gnu.org/software/global/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 07bade1c766e5d47d4967382fe20ee11251775d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 071/249] gmsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 5d36aaf6eb6..ef9786aec7a 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -18,6 +18,8 @@ changelog="http://gmsh.info/CHANGELOG.txt"
 distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
 checksum=ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd
 
+CFLAGS="-fcommon"
+
 if [ -z "$CROSS_BUILD" ]; then
 	makedepends+=" hdf5-devel"
 fi

From 5342f64840d15129152e38a9b0bff854d91d21fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 072/249] gmtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gmtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gmtp/template b/srcpkgs/gmtp/template
index 2f6e744c955..69de28c2c3d 100644
--- a/srcpkgs/gmtp/template
+++ b/srcpkgs/gmtp/template
@@ -13,6 +13,8 @@ homepage="http://gmtp.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/gmtp/gmtp-${version}.tar.gz"
 checksum=5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 84f7ea43fb2526087862adb38f49ade37c48ba5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:52:35 +0200
Subject: [PATCH 073/249] gnac: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnac/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template
index 54f1a9d1f40..489783bdd85 100644
--- a/srcpkgs/gnac/template
+++ b/srcpkgs/gnac/template
@@ -2,8 +2,8 @@
 pkgname=gnac
 version=0.2.4.1
 revision=3
-patch_args="-Np1"
 build_style=gnu-configure
+configure_args="--disable-scrollkeeper --disable-schemas-compile"
 hostmakedepends="gnome-common gettext-devel pkg-config intltool libtool
  gnome-doc-utils glib-devel gtk+3-devel gst-plugins-base1-devel
  autoconf-archive which"
@@ -12,14 +12,14 @@ makedepends="libxml2-devel gtk+3-devel gst-plugins-base1-devel libunique-devel
  desktop-file-utils hicolor-icon-theme gnome-doc-utils"
 depends="gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1
  desktop-file-utils hicolor-icon-theme"
-configure_args="--disable-scrollkeeper --disable-schemas-compile"
 short_desc="Audio conversion program for the Gnome desktop"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3"
+license="GPL-3.0-or-later"
 homepage="http://gnac.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
 checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da
-CFLAGS="-fPIC"
+patch_args="-Np1"
+CFLAGS="-fPIC -fcommon"
 
 pre_configure() {
 	autoreconf -fi

From b7fd23a1825e6fac70ebe2d76122347f90a31a24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:55:17 +0200
Subject: [PATCH 074/249] gnome-control-center: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-control-center/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template
index 0e2787898ae..be5852f3b21 100644
--- a/srcpkgs/gnome-control-center/template
+++ b/srcpkgs/gnome-control-center/template
@@ -32,6 +32,8 @@ if [ -z "$CROSS_BUILD" ]; then
 	build_options_default+=" cheese"
 fi
 
+CFLAGS="-fcommon"
+
 gnome-control-center-devel_package() {
 	short_desc+=" - development files"
 	pkg_install() {

From 88a70725ea7bd63e37141fa10f250873fb67cf1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:23 +0200
Subject: [PATCH 075/249] gnome-mplayer: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnome-mplayer/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-mplayer/template b/srcpkgs/gnome-mplayer/template
index 4ea200a611f..c965aad6e0b 100644
--- a/srcpkgs/gnome-mplayer/template
+++ b/srcpkgs/gnome-mplayer/template
@@ -10,9 +10,11 @@ makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
  libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
  libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
 depends="mplayer desktop-file-utils hicolor-icon-theme"
-short_desc="A simple MPlayer GUI for GNOME"
+short_desc="Simple MPlayer GUI for GNOME"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://github.com/kdekorte/gnome-mplayer"
 distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
 checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
+
+CFLAGS="-fcommon"

From 5aead27ce939f4ad2d37a629c1dd87b82fbe3e03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 076/249] gnugo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnugo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnugo/template b/srcpkgs/gnugo/template
index 290b9d3c68a..81c21903ea8 100644
--- a/srcpkgs/gnugo/template
+++ b/srcpkgs/gnugo/template
@@ -10,3 +10,5 @@ license="GPL-3"
 homepage="https://www.gnu.org/software/gnugo/"
 distfiles="${GNU_SITE}/gnugo/${pkgname}-${version}.tar.gz"
 checksum=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
+
+CFLAGS="-fcommon"

From 7bcf90f1acdd950286c2172fc3bc6198ab1a20ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 077/249] gnupg: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnupg/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 5a0a3179500..317bad3e60c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -12,6 +12,8 @@ homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;

From f8784eb990ccb18053c8f06be844b7863a236482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 078/249] gnurobbo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gnurobbo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gnurobbo/template b/srcpkgs/gnurobbo/template
index 486c7989f1f..ea4d1479058 100644
--- a/srcpkgs/gnurobbo/template
+++ b/srcpkgs/gnurobbo/template
@@ -13,6 +13,8 @@ homepage="http://gnurobbo.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
 checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile \
 		-e "s;\(CFLAGS\?+=\)-d;\1;" \

From fde1752cd15703ca20de78d9f648ddf4a5f1061f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 079/249] goaccess: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/goaccess/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template
index db2ccea2f97..fc08a1f33cb 100644
--- a/srcpkgs/goaccess/template
+++ b/srcpkgs/goaccess/template
@@ -13,6 +13,8 @@ homepage="https://goaccess.io"
 distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz"
 checksum=8c775c5c24bf85a933fd6f1249004847342d6542aa533e4ec02aaf7be41d7b9b
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 122eee015b966a8bd4b30d3516c8e61afad6a9d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:24 +0200
Subject: [PATCH 080/249] gpm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template
index 41101b41517..d95a6c1a637 100644
--- a/srcpkgs/gpm/template
+++ b/srcpkgs/gpm/template
@@ -12,6 +12,8 @@ homepage="http://www.nico.schottelius.org/software/gpm/"
 distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma"
 checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From 62df333f082d8916ff230faaac74e815797f1008 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 081/249] gpredict: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gpredict/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gpredict/template b/srcpkgs/gpredict/template
index a51a749681f..0c750c9ab0c 100644
--- a/srcpkgs/gpredict/template
+++ b/srcpkgs/gpredict/template
@@ -11,3 +11,5 @@ license="GPL-2-or-later"
 homepage="http://gpredict.oz9aec.net/"
 distfiles="https://github.com/csete/gpredict/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
 checksum=e759c4bae0b17b202a7c0f8281ff016f819b502780d3e77b46fe8767e7498e43
+
+CFLAGS="-fcommon"

From 8cf03e10ccc654254ce0c64f602e769bd105fe18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:30:41 +0200
Subject: [PATCH 082/249] gprolog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gprolog/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/gprolog/template b/srcpkgs/gprolog/template
index 712938d3f73..0681feeaea4 100644
--- a/srcpkgs/gprolog/template
+++ b/srcpkgs/gprolog/template
@@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
 disable_parallel_build=yes
 nopie=yes # native asm generated
 
+CFLAGS="-fcommon"
+
 case $XBPS_MACHINE in
 	i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
 esac
 
+post_configure() {
+	vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
+}
+
 post_install() {
 	mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
 		${DESTDIR}/usr/share/doc/gprolog

From de10488be5fb80389f50c40870511c92ba3f79dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 083/249] gscope3: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gscope3/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template
index c54da78c5a7..ff6db18c2d4 100644
--- a/srcpkgs/gscope3/template
+++ b/srcpkgs/gscope3/template
@@ -15,6 +15,8 @@ homepage="https://github.com/tefletch/gscope"
 distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
 checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From 45470736ba8ddaf0f7d6b95a9eef562a5c227d42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 084/249] gsoap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gsoap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index 9acaaaec886..481f099805e 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
 checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
 disable_parallel_build=yes
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" gsoap"
 fi

From 48d973ecd79d0f4c6e4eb283871e6e438b66bc97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 03:17:10 +0200
Subject: [PATCH 085/249] gst-plugins-bad1: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gst-plugins-bad1/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index a1012b0a492..212203c24a1 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -42,6 +42,8 @@ build_options="gir gme"
 build_options_default="gir"
 desc_option_gme="Build with Game Music Emulator support"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	mips*) ;; # libgme cannot be built for mips*
 	*) build_options_default+=" gme" ;;

From 0f9615e2c009986664710a390bd3f10f63276eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 086/249] gtick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtick/template b/srcpkgs/gtick/template
index 337244293c0..74c72dc81d3 100644
--- a/srcpkgs/gtick/template
+++ b/srcpkgs/gtick/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.antcom.de/gtick/"
 distfiles="http://www.antcom.de/gtick/download/$pkgname-$version.tar.gz"
 checksum=409439e231892ffcfafc8d06a713c0f8c7e333920e1b885817d36e096db2fa7c
+
+CFLAGS="-fcommon"

From b6baee7708d6037e965a14476c8ab84f15c850a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 087/249] gtkdialog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkdialog/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkdialog/template b/srcpkgs/gtkdialog/template
index f8f62c31784..7311db4ef1e 100644
--- a/srcpkgs/gtkdialog/template
+++ b/srcpkgs/gtkdialog/template
@@ -14,6 +14,8 @@ homepage="https://code.google.com/p/gtkdialog/"
 distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-${version}.tar.gz"
 checksum=ff89d2d7f1e6488e5df5f895716ac1d4198c2467a2a5dc1f51ab408a2faec38e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/doc/$pkgname
 	cp -a examples ${DESTDIR}/usr/share/doc/$pkgname/examples

From c5d685f6dfd26010823261026328655eac3039d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:25 +0200
Subject: [PATCH 088/249] gtklp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtklp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtklp/template b/srcpkgs/gtklp/template
index a0b1f70d1cc..4887b446460 100644
--- a/srcpkgs/gtklp/template
+++ b/srcpkgs/gtklp/template
@@ -13,6 +13,8 @@ homepage="http://gtklp.sirtobi.com/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.src.tar.gz"
 checksum=be07609042595fa932034e3b2d7038cef33901ec0863fcedbb5188acb6b53bab
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 3d8ccacfb2fae849b3fd3045d4c64fd6495b1ac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:57:14 +0200
Subject: [PATCH 089/249] gtkpod: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gtkpod/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template
index eae5a10c0f4..0057900580b 100644
--- a/srcpkgs/gtkpod/template
+++ b/srcpkgs/gtkpod/template
@@ -16,3 +16,5 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
 # Line 55: print in python 2 style
 python_version=2
+
+CFLAGS="-fcommon"

From b65e5c73592661c9f18ef0b85b568b8ce1d883fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 090/249] gxkb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/gxkb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gxkb/template b/srcpkgs/gxkb/template
index fe3d6a4f57f..3e70796634a 100644
--- a/srcpkgs/gxkb/template
+++ b/srcpkgs/gxkb/template
@@ -12,6 +12,8 @@ homepage="https://github.com/zen-tools/gxkb"
 distfiles="https://github.com/zen-tools/gxkb/archive/v${version}.tar.gz"
 checksum=aa8a69bbdce94e3cd17c7c12f5773c8e4bb7f2a5b706aacdce545e82063ff35e
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./autogen.sh
 }

From a1fdce37fb0ac3c854ace5d4cb0a436b1edfcdb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 091/249] halibut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/halibut/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template
index 5d33d6d5207..e428d771ea8 100644
--- a/srcpkgs/halibut/template
+++ b/srcpkgs/halibut/template
@@ -14,7 +14,7 @@ homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
 distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
 checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
 
-CFLAGS='-I../charset -I../build'
+CFLAGS='-I../charset -I../build -fcommon'
 
 pre_build() {
 	export LIBS="$LDFLAGS"

From 703033a95eb1d932ba37008949eb9b7e56051e06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 092/249] hebcal: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hebcal/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hebcal/template b/srcpkgs/hebcal/template
index 2e32be41196..6e7cdc3a6db 100644
--- a/srcpkgs/hebcal/template
+++ b/srcpkgs/hebcal/template
@@ -11,6 +11,8 @@ homepage="https://www.hebcal.com/"
 distfiles="https://github.com/hebcal/hebcal/archive/v${version}.tar.gz"
 checksum=507dde7a173453a56c63fefcafef9eab4d3ab9f5da57473e2a07e538e3d6d831
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	# aclocal && autoconf && automake --foreign --add-missing

From 70238e8c1fbd3ba4bbe7971e2e3424b73928854c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 093/249] heyu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/heyu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template
index 91f70703b02..6c2999fd29f 100644
--- a/srcpkgs/heyu/template
+++ b/srcpkgs/heyu/template
@@ -12,6 +12,8 @@ homepage="http://www.heyu.org"
 distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz"
 checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's:local/::' Configure
 	sed -i 's:/man:/share/man:' Configure

From bdc99f31742ff8fe3fb6e8649fecf151dd435ede Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:26 +0200
Subject: [PATCH 094/249] hidrd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hidrd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hidrd/template b/srcpkgs/hidrd/template
index 3470511708c..8bb1ef18a52 100644
--- a/srcpkgs/hidrd/template
+++ b/srcpkgs/hidrd/template
@@ -11,6 +11,8 @@ homepage="https://github.com/DIGImend/hidrd"
 distfiles="https://github.com/DIGImend/hidrd/archive/${version}.tar.gz"
 checksum=0147993dedb3066873d22fab1dc3aafec78d8c5783d168cccc43126f0fc3b307
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl)
 		configure_args+=' LIBS=-lobstack'

From a1f13c26598fa93ec80a47d04ed04fde7225d40b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 095/249] hitch: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hitch/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template
index a0155cc64c6..f99169099c0 100644
--- a/srcpkgs/hitch/template
+++ b/srcpkgs/hitch/template
@@ -14,6 +14,8 @@ distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
 checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
 system_accounts="_hitch"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vman hitch.8
 	vman hitch.conf.5

From 0965bd213bed74f7c39785026ad4cbebf6137ef8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 096/249] hnb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/hnb/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template
index c6aef23fc3e..5721e32d121 100644
--- a/srcpkgs/hnb/template
+++ b/srcpkgs/hnb/template
@@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
 checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
 	sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile

From a865748be782d56a0fabebcaeb9aaac270d6edf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 097/249] i3lock: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/i3lock/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/i3lock/template b/srcpkgs/i3lock/template
index 0d8c0ca1603..69c66065bda 100644
--- a/srcpkgs/i3lock/template
+++ b/srcpkgs/i3lock/template
@@ -14,6 +14,8 @@ homepage="https://i3wm.org/i3lock/"
 distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
 checksum=d0b2a1a96ce80649958b27b8d54a6069b3aec9e7ffe07d378f9c51763b56bc09
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	vsed -i 's:login:system-auth:' pam/i3lock
 }

From ba35b1354e5c8c9596e84980cb56619a7ef87528 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 098/249] ibus-rime: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ibus-rime/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ibus-rime/template b/srcpkgs/ibus-rime/template
index 507e20dfb85..5a0544ad1d9 100644
--- a/srcpkgs/ibus-rime/template
+++ b/srcpkgs/ibus-rime/template
@@ -13,6 +13,8 @@ homepage="https://rime.im/"
 distfiles="https://github.com/rime/ibus-rime/archive/${version}.tar.gz"
 checksum=4f20b64cf01ced25eacba185cd1cc6855b373e0728cba4d406356b13a5ec3828
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make ${makejobs} PREFIX=${DESTDIR}/usr install
 }

From 25bec494d00b0de43457fab08470cf31ca2311f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 099/249] iftop: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iftop/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iftop/template b/srcpkgs/iftop/template
index 3e3ce685e9c..4a5556236df 100644
--- a/srcpkgs/iftop/template
+++ b/srcpkgs/iftop/template
@@ -10,3 +10,5 @@ license="GPL-2.0-only"
 homepage="http://www.ex-parrot.com/pdw/iftop/"
 distfiles="${homepage}/download/$pkgname-$version.tar.gz"
 checksum=f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
+
+CFLAGS="-fcommon"

From cddbed8b4e7b9dbd344991a93d992b3f6f6931c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:27 +0200
Subject: [PATCH 100/249] inetutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/inetutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/inetutils/template b/srcpkgs/inetutils/template
index b3f0ba49a90..04177ecbf11 100644
--- a/srcpkgs/inetutils/template
+++ b/srcpkgs/inetutils/template
@@ -17,6 +17,8 @@ subpackages="inetutils-dnsdomainname inetutils-ftp inetutils-hostname
  inetutils-syslog inetutils-telnet inetutils-tftp inetutils-traceroute
  inetutils-uucpd inetutils-whois"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 *-musl)
 	# Some packages don't build on musl, so explicitly disable them

From 11251350cc2693162f053ce471b3d7c1da70fe8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 18:30:28 +0200
Subject: [PATCH 101/249] io.elementary.files: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/io.elementary.files/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template
index d99ab77d6ad..16eb6f188e8 100644
--- a/srcpkgs/io.elementary.files/template
+++ b/srcpkgs/io.elementary.files/template
@@ -16,6 +16,8 @@ homepage="https://github.com/elementary/files"
 distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
 checksum=3fa4a2a303c1f0f5f6043a2ae0dca3e101c4aafff96639736cc689390682de3c
 
+CFLAGS="-fcommon"
+
 libio.elementary.files_package() {
 	short_desc+=" - library"
 	pkg_install() {

From a8167314cbfdb9e3108ad6b1cfad87c0062e5817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 102/249] iouyap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iouyap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template
index 96188425bdc..09cd966c6e1 100644
--- a/srcpkgs/iouyap/template
+++ b/srcpkgs/iouyap/template
@@ -11,6 +11,8 @@ homepage="https://github.com/GNS3/iouyap"
 distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
 checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin iouyap
 }

From 03330293128bfb9f686461a79184cd164943733f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 103/249] ipmitool: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipmitool/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template
index 02d31d34c6d..f70f335b4d0 100644
--- a/srcpkgs/ipmitool/template
+++ b/srcpkgs/ipmitool/template
@@ -11,6 +11,8 @@ homepage="http://ipmitool.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm -rf ${DESTDIR}/usr/share/doc
 	vlicense COPYING

From f3c5c557bd7457ae3e27afcfd709d31c696681dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 104/249] ipv6calc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ipv6calc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template
index 5ebe843eabc..cc4278c1fc5 100644
--- a/srcpkgs/ipv6calc/template
+++ b/srcpkgs/ipv6calc/template
@@ -12,3 +12,5 @@ license="GPL-2.0-only"
 homepage="https://www.deepspace6.net/projects/ipv6calc.html"
 distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz"
 checksum=1935352f6171b07f18ce0487ee95ffcc006ea3f653f7cba564d2d8e135f04ca1
+
+CFLAGS="-fcommon"

From b2caf04951a7656bab9a180b318b644c65605cd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 105/249] iselect: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iselect/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/iselect/template b/srcpkgs/iselect/template
index 2a56bb61338..7b0737f3774 100644
--- a/srcpkgs/iselect/template
+++ b/srcpkgs/iselect/template
@@ -12,6 +12,8 @@ homepage="http://www.ossp.org/pkg/tool/iselect/"
 distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
 }

From 8ab192426025369c20a5dfe52201ee13a79ffe26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:28 +0200
Subject: [PATCH 106/249] iverilog: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/iverilog/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template
index 44f1c8e0ae8..c10b6ab8630 100644
--- a/srcpkgs/iverilog/template
+++ b/srcpkgs/iverilog/template
@@ -15,7 +15,8 @@ checksum=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
 
 nocross="draw_tt.exe: cannot execute binary file: Exec format error"
 
-CXXFLAGS='-Wimplicit-fallthrough=0'
+CFLAGS='-fcommon'
+CXXFLAGS='-fcommon -Wimplicit-fallthrough=0'
 
 pre_configure() {
 	sh ./autoconf.sh

From 26179c5f2cdb6e231da6c2e825e9ad1a7046325d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 107/249] jeti-filemanager: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jeti-filemanager/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/jeti-filemanager/template b/srcpkgs/jeti-filemanager/template
index 94a4d2b733b..95e2a6167e8 100644
--- a/srcpkgs/jeti-filemanager/template
+++ b/srcpkgs/jeti-filemanager/template
@@ -12,6 +12,7 @@ distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.
 checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
 
 _LIBS="-lncurses"
+CFLAGS="-fcommon"
 
 pre_build() {
 	# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking

From 43c48c19830c681c462bf58695cd4d525b5ef483 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 108/249] jfsutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/jfsutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template
index d1cdf127360..22f153adb29 100644
--- a/srcpkgs/jfsutils/template
+++ b/srcpkgs/jfsutils/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://jfs.sourceforge.net"
 distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz"
 checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d
+
+CFLAGS="-fcommon"

From 33db1d2cc198de5549cfa33bca5c408e66bd5ae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 109/249] kexec-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kexec-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template
index 96e730e9127..64f8df9ae63 100644
--- a/srcpkgs/kexec-tools/template
+++ b/srcpkgs/kexec-tools/template
@@ -14,6 +14,8 @@ distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz"
 checksum=dad8077f0315445d1f6335579fc4ade222facf82a67124974c7be5303ba4f8c8
 skip_extraction="${pkgname}-${version}.tar.xz"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc-musl) nopie=yes;; # textrels not supported
 esac

From f2df9ba9177d251961a9e3a9b32b4c01f2ae5a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:29 +0200
Subject: [PATCH 110/249] klystrack: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/klystrack/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/klystrack/template b/srcpkgs/klystrack/template
index d941b373e27..927645f0787 100644
--- a/srcpkgs/klystrack/template
+++ b/srcpkgs/klystrack/template
@@ -15,6 +15,8 @@ distfiles="https://github.com/kometbomb/klystrack/archive/${version}.tar.gz
 checksum="569dc552ffdfcef94cb1ed993b41494e0c52a7ec15d0cdf614490b92f6611efb
  877bf4b7dc506ede2309c5c9c838d58d52ff031fef7415e9b491ce584078e2f5"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	test -d klystron ||
 		mv klystron-${_klystronsha} klystron

From 623458dc75e540c1966e4c29a91ab8916d749471 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 111/249] kona: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/kona/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template
index e307793f9af..51c99eb203d 100644
--- a/srcpkgs/kona/template
+++ b/srcpkgs/kona/template
@@ -11,6 +11,8 @@ homepage="https://github.com/kevinlawler/kona"
 distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
 checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
 }

From 4c7f0395edacea8148a0f4d5ff340a10fb0fee21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 112/249] lastpass-cli: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lastpass-cli/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lastpass-cli/template b/srcpkgs/lastpass-cli/template
index 17d5e9bae88..bcf29d1e4e1 100644
--- a/srcpkgs/lastpass-cli/template
+++ b/srcpkgs/lastpass-cli/template
@@ -14,6 +14,8 @@ changelog="https://github.com/lastpass/${pkgname}/blob/v${version}/CHANGELOG.md"
 distfiles="https://github.com/lastpass/${pkgname}/archive/v${version}.tar.gz"
 checksum=f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vmkdir usr/share/examples/lpass
 	vcopy contrib/examples/* usr/share/examples/lpass

From c74ab2674343c18be8ddf6293aada3a7ea42135a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 113/249] libfreeglut: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libfreeglut/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libfreeglut/template b/srcpkgs/libfreeglut/template
index 3b429390030..90f38a007ba 100644
--- a/srcpkgs/libfreeglut/template
+++ b/srcpkgs/libfreeglut/template
@@ -12,6 +12,8 @@ homepage="http://freeglut.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
 checksum=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From af8ecb0c46f41d810eecce7d9d9d9b07706ddca1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:30 +0200
Subject: [PATCH 114/249] libmirage: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libmirage/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template
index 6fcc6cdf0b7..fdd18b43911 100644
--- a/srcpkgs/libmirage/template
+++ b/srcpkgs/libmirage/template
@@ -17,6 +17,8 @@ checksum=fc5b3b8acd40d63c6194fba65c841b906a8074e89b14a10bf76f35d1c371a355
 build_options="gir"
 build_options_default="gir"
 
+CFLAGS="-fcommon"
+
 libmirage-devel_package() {
 	short_desc+=" - development files"
 	depends="libmirage-${version}_${revision}"

From 5be33856d25a303202913c7aac6c594a1e16b05c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 115/249] libnih: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libnih/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template
index 2e269931498..52ebfddc9b7 100644
--- a/srcpkgs/libnih/template
+++ b/srcpkgs/libnih/template
@@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}"
 distfiles="${homepage}/archive/${_commit}.tar.gz"
 checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" nih-devel"
 	configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"

From df6b7d6ca110905482a4e621aee56d9a33264b06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 17:10:28 +0200
Subject: [PATCH 116/249] libopenshot: fix variable definition for gcc10

See https://github.com/OpenShot/libopenshot/pull/512

[ci skip]
---
 .../patches/AV_GET_CODEC_CONTEXT-macro.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch

diff --git a/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
new file mode 100644
index 00000000000..e6c640a8e11
--- /dev/null
+++ b/srcpkgs/libopenshot/patches/AV_GET_CODEC_CONTEXT-macro.patch
@@ -0,0 +1,34 @@
+--- a/include/FFmpegUtilities.h	2020-03-03 09:00:06.000000000 +0100
++++ b/include/FFmpegUtilities.h	2020-08-19 17:04:58.535806744 +0200
+@@ -163,11 +163,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar
+@@ -199,11 +198,10 @@
+ 		#define AV_FREE_CONTEXT(av_context) avcodec_free_context(&av_context)
+ 		#define AV_GET_CODEC_TYPE(av_stream) av_stream->codecpar->codec_type
+ 		#define AV_FIND_DECODER_CODEC_ID(av_stream) av_stream->codecpar->codec_id
+-		auto AV_GET_CODEC_CONTEXT = [](AVStream* av_stream, AVCodec* av_codec) { \
+-			AVCodecContext *context = avcodec_alloc_context3(av_codec); \
+-			avcodec_parameters_to_context(context, av_stream->codecpar); \
+-			return context; \
+-		};
++		#define AV_GET_CODEC_CONTEXT(av_stream, av_codec) \
++			({ AVCodecContext *context = avcodec_alloc_context3(av_codec); \
++			   avcodec_parameters_to_context(context, av_stream->codecpar); \
++			   context; })
+ 		#define AV_GET_CODEC_PAR_CONTEXT(av_stream, av_codec) av_codec;
+ 		#define AV_GET_CODEC_FROM_STREAM(av_stream,codec_in)
+ 		#define AV_GET_CODEC_ATTRIBUTES(av_stream, av_context) av_stream->codecpar

From 5de99d5e10284877ee0c733793fa93e9e76e0428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 117/249] libosmocore: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libosmocore/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libosmocore/template b/srcpkgs/libosmocore/template
index 070f69fe315..51242a6137b 100644
--- a/srcpkgs/libosmocore/template
+++ b/srcpkgs/libosmocore/template
@@ -14,6 +14,8 @@ homepage="https://bb.osmocom.org/trac/wiki/libosmocore"
 distfiles="https://github.com/osmocom/libosmocore/archive/${version}.tar.gz"
 checksum=74b8e0edb2a97eb3665f4004ed7b5c6a42c2e3f5fe29dcd5d474e7c4d1d11888
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -i
 }

From b3e0ac91dc55829760fad1b4f91e04fc1143f3cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 15:01:22 +0200
Subject: [PATCH 118/249] libowfat: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libowfat/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template
index ab17c4776c8..95c7e9a812b 100644
--- a/srcpkgs/libowfat/template
+++ b/srcpkgs/libowfat/template
@@ -11,6 +11,8 @@ homepage="https://www.fefe.de/libowfat/"
 distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
 }

From 299582177d3f8cc422874f77fd05252865ec351b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 119/249] libsepol: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsepol/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsepol/template b/srcpkgs/libsepol/template
index e6c39880cfc..66119f2474d 100644
--- a/srcpkgs/libsepol/template
+++ b/srcpkgs/libsepol/template
@@ -12,6 +12,8 @@ homepage="http://userspace.selinuxproject.org"
 distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
 checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
 
+CFLAGS="-fcommon"
+
 libsepol-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 1b03df53ad9f977a98c8d778a6608c88263157ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 120/249] libsrtp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libsrtp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index e35a498a9df..9748ca264b1 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -13,6 +13,8 @@ homepage="https://github.com/cisco/libsrtp"
 distfiles="https://github.com/cisco/libsrtp/archive/v${version}.tar.gz"
 checksum=94093a5d04c5f4743e8d81182b76938374df6d393b45322f24960d250b0110e8
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From e034469badc21165a78823134e6983a2ba087c7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:31 +0200
Subject: [PATCH 121/249] libunwind: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libunwind/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index 2bafd62b62d..944fba59bf1 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -12,6 +12,8 @@ homepage="https://www.nongnu.org/libunwind/"
 distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
 checksum=df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
 
+CFLAGS="-fcommon"
+
 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
 case "$XBPS_TARGET_MACHINE" in
 	i686-musl) LDFLAGS=" -lssp_nonshared" ;;

From 32d2dda55e020d0ffc2208d4f9ca71acad0e6d3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 122/249] libva-intel-driver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/libva-intel-driver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
index f39a8757729..10003fc03f1 100644
--- a/srcpkgs/libva-intel-driver/template
+++ b/srcpkgs/libva-intel-driver/template
@@ -16,6 +16,8 @@ distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz
 checksum=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# Only relevant if intel-gpu-tools is installed,
 	# since then the shaders will be recompiled

From ac82e3d27006b0f89d0d2734573069d20a6ce813 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 123/249] light: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/light/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/light/template b/srcpkgs/light/template
index 6be5a27bff5..98996f551f3 100644
--- a/srcpkgs/light/template
+++ b/srcpkgs/light/template
@@ -12,6 +12,8 @@ homepage="http://haikarainen.github.io/light/"
 distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
 checksum=62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From 9d4f589b56a7a9009b9ca9096fc24c25dc189a30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 124/249] lilo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lilo/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template
index 4b3a6de918b..f42a9eb5f5b 100644
--- a/srcpkgs/lilo/template
+++ b/srcpkgs/lilo/template
@@ -12,6 +12,8 @@ homepage="http://www.joonet.de/lilo"
 distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
 checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i Makefile src/Makefile \
 		-e 's|^\tmake|\t$(MAKE)|g' \

From c08b4f821a2ec96aea4dcd07d0328a195b8206ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 125/249] linux-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/linux-tools/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template
index 313125ff65e..ead8123db21 100644
--- a/srcpkgs/linux-tools/template
+++ b/srcpkgs/linux-tools/template
@@ -19,7 +19,7 @@ python_version=3
 
 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 case "$XBPS_TARGET_MACHINE" in
 i686*|x86_64*)
 	makedepends+=" libnuma-devel"
@@ -30,6 +30,9 @@ ppc64*)
 	makedepends+=" libnuma-devel"
 	;;
 esac
+case "$XBPS_TARGET_MACHINE" in
+i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;;
+esac
 
 nocross=yes
 

From 3d1a371ee5ab7a5380e68b68e24a318ead704f1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:32 +0200
Subject: [PATCH 126/249] liquidwar: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/liquidwar/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template
index 126f908e7d2..cfa3e279d49 100644
--- a/srcpkgs/liquidwar/template
+++ b/srcpkgs/liquidwar/template
@@ -15,6 +15,8 @@ homepage="http://www.ufoot.org/liquidwar"
 distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
 checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# The assembly only exists for 32 bit x86
 	if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then

From a66d7eded1618d2c7426838eab544ef9b924c8e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 127/249] lprng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lprng/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lprng/template b/srcpkgs/lprng/template
index 0be77d3cde6..b4b9c9cb008 100644
--- a/srcpkgs/lprng/template
+++ b/srcpkgs/lprng/template
@@ -14,6 +14,8 @@ system_accounts="_lprng"
 conflicts="cups>=0"
 conf_files="/etc/lpd/* /etc/printcap"
 
+CFLAGS="-fcommon"
+
 export CLEAR=no
 
 post_install() {

From 52cef63b6cc9f30fee9c24517add69a4db00f045 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:58:25 +0200
Subject: [PATCH 128/249] luakit: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/luakit/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template
index 28f9858e3be..33587f26196 100644
--- a/srcpkgs/luakit/template
+++ b/srcpkgs/luakit/template
@@ -19,6 +19,8 @@ case "${XBPS_TARGET_MACHINE}" in
 	aarch64) broken="LuaJIT-devel marked as unsupported";;
 esac
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr VERSION=${version} all
 }

From 5df6eb3f536c717faf4c0e19e5430f0f2a9661df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 129/249] lxpanel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxpanel/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template
index 3e2e6c4fb52..05b3c323727 100644
--- a/srcpkgs/lxpanel/template
+++ b/srcpkgs/lxpanel/template
@@ -18,6 +18,8 @@ checksum=4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e
 
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 lxpanel-devel_package() {
 	depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 9558e36b0087d7c5b9dd9d731529919e26c40c45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 130/249] lxtask: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/lxtask/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template
index 383829a78ea..28e5458db4a 100644
--- a/srcpkgs/lxtask/template
+++ b/srcpkgs/lxtask/template
@@ -13,3 +13,5 @@ license="GPL-2.0-or-later"
 homepage="http://lxde.org/"
 distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
 checksum=41ea88f0adf31a840e4b9d137ca5ea802860d1a117845ba25f3080d74a876433
+
+CFLAGS="-fcommon"

From 50876cc30eee866947be87994b35fddc4c2f8432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 131/249] makedumpfile: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/makedumpfile/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template
index a335df5d678..cffe72b97be 100644
--- a/srcpkgs/makedumpfile/template
+++ b/srcpkgs/makedumpfile/template
@@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
 	sed -i '1i#include <limits.h>' common.h

From fa27d49742cfa14cd97b4fffe421d0c13ef3c35a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:33 +0200
Subject: [PATCH 132/249] mariadb: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mariadb/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template
index 793f3aadf41..2a99794e073 100644
--- a/srcpkgs/mariadb/template
+++ b/srcpkgs/mariadb/template
@@ -34,7 +34,7 @@ replaces="mysql>=0"
 conf_files="/etc/mysql/my.cnf"
 system_accounts="mysql"
 mysql_homedir="/var/lib/mysql"
-CFLAGS="-w"
+CFLAGS="-w -fcommon"
 
 pre_configure() {
 	# We need some host binaries before starting cross compilation.

From 82204289a97f49a3c861015acf3d05c1efe06b3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 11:59:46 +0200
Subject: [PATCH 133/249] mcabber: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mcabber/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template
index 5603e69b964..9277e3f5c05 100644
--- a/srcpkgs/mcabber/template
+++ b/srcpkgs/mcabber/template
@@ -14,6 +14,8 @@ homepage="http://mcabber.com"
 distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
 checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf mcabberrc.example
 }
@@ -25,4 +27,4 @@ mcabber-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 	}
-}
\ No newline at end of file
+}

From a80c95414ec2ea00427fd54602a4ee4656adf957 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 134/249] mdbtools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdbtools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdbtools/template b/srcpkgs/mdbtools/template
index 7e9f1c01f66..73de7c1bee0 100644
--- a/srcpkgs/mdbtools/template
+++ b/srcpkgs/mdbtools/template
@@ -13,6 +13,8 @@ license="GPL-2, LGPL-2.1"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	case "${XBPS_TARGET_MACHINE}" in
 		*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure

From b93725dec9cea9255af643ceff393faacf5d60bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 135/249] mdocml: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mdocml/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template
index 5200eb54ce8..e7924b66c99 100644
--- a/srcpkgs/mdocml/template
+++ b/srcpkgs/mdocml/template
@@ -26,6 +26,8 @@ alternatives="
  man:whatis.1:/usr/share/man/man1/mandoc-whatis.1
  man:apropos.1:/usr/share/man/man1/mandoc-apropos.1"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# use less(1)
 	sed -i 's,"more -s","less -s",g' main.c

From 127a6a6ebf97bc09cd6228be3ce2cc8c548b8dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 136/249] memtester: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/memtester/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 67502e035fc..4badaea8c32 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
 distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
 checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
 	sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld

From 58cfd428349f49d2c439473c8f8621a09ba6fcf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 137/249] menu-cache: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/menu-cache/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template
index 3d972119236..d2907cbff7e 100644
--- a/srcpkgs/menu-cache/template
+++ b/srcpkgs/menu-cache/template
@@ -13,6 +13,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz"
 checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's,<libfm/fm-extra.h>,<libfm-1.0/fm-extra.h>,g' menu-cache-gen/*.[ch]
 }

From aaa58221006428956f22131917ae416727532529 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 138/249] minicom: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minicom/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template
index 5e60e54ed4d..8671f508256 100644
--- a/srcpkgs/minicom/template
+++ b/srcpkgs/minicom/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://tracker.debian.org/pkg/minicom"
 distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz"
 checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
+
+CFLAGS="-fcommon"

From b3dadb09199d6226a637998f3d3d9422d225454a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:34 +0200
Subject: [PATCH 139/249] minidlna: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/minidlna/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index 0d0148775a2..636b4c72204 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -24,6 +24,8 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From 7a2f6c752fbf086ba67c9540a64e1263fff40d22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 140/249] mit-scheme-c: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mit-scheme-c/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template
index 7b380afa255..92f3b637912 100644
--- a/srcpkgs/mit-scheme-c/template
+++ b/srcpkgs/mit-scheme-c/template
@@ -15,6 +15,8 @@ alternatives="
 "
 nocross="Tries to build parts of the package with itself"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	ppc) broken="free(): invalid pointer";;
 	ppc*-musl) broken="Fails to link";;

From 1d356438a0698e97d45fe2c860b90988b73ef96b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 141/249] mlmmj: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mlmmj/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mlmmj/template b/srcpkgs/mlmmj/template
index 23f01a16531..5a614560fee 100644
--- a/srcpkgs/mlmmj/template
+++ b/srcpkgs/mlmmj/template
@@ -10,6 +10,8 @@ homepage="http://mlmmj.org/"
 distfiles="http://mlmmj.org/releases/mlmmj-${version}.tar.bz2"
 checksum=1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 18de65a4eddd11f1607f49073123b23add79cd7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 142/249] monkey: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/monkey/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/monkey/template b/srcpkgs/monkey/template
index ba04d61f5c6..87a67260acf 100644
--- a/srcpkgs/monkey/template
+++ b/srcpkgs/monkey/template
@@ -31,6 +31,8 @@ make_dirs="
  /srv/www/monkey 0755 _monkey _monkey
  /var/log/monkey/htdocs 0755 _monkey _monkey"
 
+CFLAGS="-fcommon"
+
 case $XBPS_TARGET_MACHINE in
 	*-musl) configure_args+="--musl-mode --no-backtrace ";;
 esac

From d2f60dc65e8c96b7b2a007bd89bd66992b8d13a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 143/249] mosquitto: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mosquitto/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index 4a8743e231e..2f4ac6ccda2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -20,6 +20,8 @@ system_accounts="_mosquitto"
 _mosquitto_homedir="/var/lib/mosquitto"
 make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

From 0ea0750f9ff956ca432001a26e2b4a640e41ae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 144/249] mrxvt: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mrxvt/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template
index adb7fc3b886..5d82c85d31f 100644
--- a/srcpkgs/mrxvt/template
+++ b/srcpkgs/mrxvt/template
@@ -13,3 +13,4 @@ homepage="http://materm.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz"
 checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7
 
+CFLAGS="-fcommon"

From 8d42d376749404ae09e1c5bc1e54a3bc6db1483b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:35 +0200
Subject: [PATCH 145/249] msp430-toolchain: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/msp430-toolchain/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template
index 4c2c46006ab..10f8d6b7fe4 100644
--- a/srcpkgs/msp430-toolchain/template
+++ b/srcpkgs/msp430-toolchain/template
@@ -26,7 +26,8 @@ do_configure() {
 	mkdir obj-msp
 	cd obj-msp
 
-	../sources/tools/configure \
+	CFLAGS="-fcommon" \
+		../sources/tools/configure \
 		--prefix=$_prefix \
 		--enable-languages=c \
 		--program-prefix="msp430-" \

From ed232fd513b19631ff02af98220e48aa785f82f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 146/249] mupen64plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mupen64plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template
index e8c034d5234..0323d321803 100644
--- a/srcpkgs/mupen64plus/template
+++ b/srcpkgs/mupen64plus/template
@@ -14,6 +14,8 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v
 checksum=9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	sh m64p_build.sh
 }

From 8d8e51ec50e3faf636dbf843852026b2c4e27b1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 147/249] mvwm-git: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/mvwm-git/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/mvwm-git/template b/srcpkgs/mvwm-git/template
index c8022c21942..5bc72355c72 100644
--- a/srcpkgs/mvwm-git/template
+++ b/srcpkgs/mvwm-git/template
@@ -20,5 +20,7 @@ wrksrc="mvwm-$_commit"
 distfiles="$homepage/archive/$_commit.tar.gz"
 checksum=34f6831d3e42b06d7af0ddf88ae43f353cd84f23563f090e7e4f0a13b75d7560
 
+CFLAGS="-fcommon"
+
 # cannot run test program while cross compiling
 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/2229/steps/shell_3/logs/stdio"

From 9d6d19c5942b2d4fb638977678a2db02e191a4c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:00:58 +0200
Subject: [PATCH 148/249] nautilus-python: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nautilus-python/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index 7a32e9e6617..9497889dc9b 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -15,3 +15,5 @@ homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
 nocross="could not find Python headers"
+
+CFLAGS="-fcommon"

From 4e332a1b81b3b822416277153ca3c530ebc85d18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 149/249] ncftp: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ncftp/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ncftp/template b/srcpkgs/ncftp/template
index 3d873e6d8ce..d01fec131ad 100644
--- a/srcpkgs/ncftp/template
+++ b/srcpkgs/ncftp/template
@@ -10,6 +10,8 @@ homepage="http://www.ncftp.com/ncftp/"
 distfiles="ftp://ftp.ncftp.com/${pkgname}/${pkgname}-${version}-src.tar.gz"
 checksum=129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense doc/LICENSE.txt
 }

From 4566affc242edf1adf7724306519b3f849f402a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:36 +0200
Subject: [PATCH 150/249] nemesis: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/nemesis/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/nemesis/template b/srcpkgs/nemesis/template
index 904e65788ec..635163c1f21 100644
--- a/srcpkgs/nemesis/template
+++ b/srcpkgs/nemesis/template
@@ -12,6 +12,8 @@ changelog="https://raw.githubusercontent.com/troglobit/nemesis/master/ChangeLog.
 distfiles="https://github.com/troglobit/nemesis/releases/download/v${version}/nemesis-${version}.tar.gz"
 checksum=bd6293849f78c7adb73953f242cb7f599fa8a5390d5beaf377cdc100741fa026
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 292b298f23f92a33d7cbb2b01b4345c2f40abf56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 151/249] netbsd-rumpkernel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netbsd-rumpkernel/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template
index c7e195c759d..0920c395d74 100644
--- a/srcpkgs/netbsd-rumpkernel/template
+++ b/srcpkgs/netbsd-rumpkernel/template
@@ -22,7 +22,8 @@ do_configure() {
 	grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
 }
 do_build() {
-	./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
+	HOST_CFLAGS=-fcommon \
+		./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
 	./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
 }
 do_install() {

From 66d0ccdc9ffff656defbfdbe197419076a2a637d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 16:04:00 +0200
Subject: [PATCH 152/249] netsniff-ng: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/netsniff-ng/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/netsniff-ng/template b/srcpkgs/netsniff-ng/template
index d6a14452188..fde3edc45c1 100644
--- a/srcpkgs/netsniff-ng/template
+++ b/srcpkgs/netsniff-ng/template
@@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
 distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
 checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i "s|/sbin|/bin|g" Makefile
 }
@@ -24,6 +26,9 @@ pre_configure() {
 	export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
 }
 
+do_build() {
+	make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
 
 pre_install() {
 	vmkdir usr/bin

From cc789cfbd2ef5738c917aa3d41398396b471ef34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 153/249] neverball: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/neverball/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template
index a1bd78d3203..9743e97086d 100644
--- a/srcpkgs/neverball/template
+++ b/srcpkgs/neverball/template
@@ -13,6 +13,8 @@ distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
 checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
 nocross="./mapc: ./mapc: cannot execute binary file"
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
 		ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale

From d166cd8c45d7f9f0acd8e9c7e9c7767b065b3ee5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:08:10 +0200
Subject: [PATCH 154/249] obs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/obs/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index 86b70252bed..279238fc816 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -19,6 +19,8 @@ changelog="https://github.com/obsproject/obs-studio/releases"
 distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
 checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
 
+CFLAGS="-fcommon"
+
 obs-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 61c4763016c167a4fac6ad05729379387a4234d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 155/249] ocaml-lablgtk2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocaml-lablgtk2/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template
index b9389c1fff4..e1ef60da18c 100644
--- a/srcpkgs/ocaml-lablgtk2/template
+++ b/srcpkgs/ocaml-lablgtk2/template
@@ -18,6 +18,10 @@ nocross=yes
 nopie=yes
 disable_parallel_build=yes
 
+post_configure() {
+	vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;"
+}
+
 post_install() {
 	vlicense COPYING
 }

From 8818f7a96255fd5bcf724f5a6ceb50793d42f6a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 156/249] ocl-icd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ocl-icd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template
index 83834e2963e..c0a1dabda81 100644
--- a/srcpkgs/ocl-icd/template
+++ b/srcpkgs/ocl-icd/template
@@ -15,6 +15,8 @@ checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
 provides="libOpenCL-1.2_1"
 replaces="libOpenCL>=0"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	./bootstrap
 }

From 775f271222cd604b7ffc0765f0258e7e600dfaa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:07:40 +0200
Subject: [PATCH 157/249] open-vm-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/open-vm-tools/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template
index 7c688dc690d..ffecab65967 100644
--- a/srcpkgs/open-vm-tools/template
+++ b/srcpkgs/open-vm-tools/template
@@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
 build_options="pam x11"
 build_options_default="pam x11"
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
-esac
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-glibc-check"
+fi
 
 pre_configure() {
 	autoreconf -vfi

From 24d0823f7244832d4e2043f2822b97849e6511d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:37 +0200
Subject: [PATCH 158/249] openjdk7-bootstrap: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openjdk7-bootstrap/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template
index eceb9d8fbbf..da4617fe4de 100644
--- a/srcpkgs/openjdk7-bootstrap/template
+++ b/srcpkgs/openjdk7-bootstrap/template
@@ -86,6 +86,8 @@ shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.
 patch_args="-Np1"
 nocross=yes
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# ensure they're cleaned up
 	mv ../apache-ant-${_ant_ver} ${wrksrc}/apache-ant

From 333ecf9a73bc7edf1b4c1c12d6a7561aec3ec5be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 159/249] openjdk8: update to 8u272-b02

This fixes build w/ gcc10.

[ci skip]
---
 srcpkgs/openjdk8/files/musl_005_jdk.patch | 22 ----------------------
 srcpkgs/openjdk8/template                 | 20 ++++++++++----------
 2 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/srcpkgs/openjdk8/files/musl_005_jdk.patch b/srcpkgs/openjdk8/files/musl_005_jdk.patch
index 97946ba424f..68ff8d59b9b 100644
--- a/srcpkgs/openjdk8/files/musl_005_jdk.patch
+++ b/srcpkgs/openjdk8/files/musl_005_jdk.patch
@@ -47,28 +47,6 @@ diff -ru openjdk.orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c openjdk
  #define HAS_GLIBC_GETHOSTBY_R   1
  #endif
  
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -41,7 +41,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #include <sys/utsname.h>
- #include <netinet/ip.h>
- 
-diff -ru openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
---- openjdk.orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-01-25 04:22:03.000000000 +0000
-+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c	2017-02-06 11:23:47.047832009 +0000
-@@ -43,7 +43,6 @@
- #endif
- #ifdef __linux__
- #include <unistd.h>
--#include <sys/sysctl.h>
- #endif
- 
- #include "jvm.h"
 diff -ru openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c openjdk/jdk/src/solaris/native/java/net/linux_close.c
 --- openjdk.orig/jdk/src/solaris/native/java/net/linux_close.c	2017-01-25 04:22:03.000000000 +0000
 +++ openjdk/jdk/src/solaris/native/java/net/linux_close.c	2017-02-06 11:23:47.047832009 +0000
diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template
index 9f9c5998fdc..80b2b88331a 100644
--- a/srcpkgs/openjdk8/template
+++ b/srcpkgs/openjdk8/template
@@ -3,8 +3,8 @@
 # TODO: make -headless versions
 # TODO: config files?
 _java_ver=8
-_jdk_update=252
-_jdk_build=09
+_jdk_update=272
+_jdk_build=02
 _main_ver=${_java_ver}u${_jdk_update}
 _final_jdk_home="usr/lib/jvm/java-1.8-openjdk"
 pkgname=openjdk8
@@ -52,14 +52,14 @@ distfiles="
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/langtools/archive/${_repo_ver}.tar.gz>langtools-${_repo_ver}.tar.gz
  http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/nashorn/archive/${_repo_ver}.tar.gz>nashorn-${_repo_ver}.tar.gz"
 
-checksum="92c682ee19844341a21853c7db8bd7654d2e6e50a4c8d630b6b6be34c2591341
- 5ced6b56b60a658c04092ee6152462b4f3f84465b654f4bc874f03a2bc6539fb
- 255a113a1a299caef89b928ebcdb6964f0e63009089a07c162562beb20aa42c8
- ec9a858770e348fe60817a67e670e268fb2445d64f99b6d4d33556f4e2f0c1d1
- 96ae2b2362f3d45874247b11bd8df59914fbfab051513e908eda11bb71a5837b
- de5fe5813d47092e048f6860dc58dad8a2dbd2b9e7272493cff78cd7ad7aa82d
- a971f578c3d8550f0b96b01ac24fc408cdcc7f2923d530d5ada81bba8caef9fe
- 02d4042b042c457b0ed41cc6c95cfe005badec55b5fc19f03f57aebbc7121e52"
+checksum="bb931ea723a8b6c418ef6a8dc7b33c9a082ce240f607e33d260951bdc52d1294
+ 655a3f4875f4ea4d6d7083c65e3bffbd694114af25a7e25bb4276c63f606328d
+ 2c6bc905ffe04659e89806514f10848e4ff548209c8e4407a5f37a3358a8cb78
+ 9543a96eb3f60171cebbf0652190942c0b0a78560fae19c7c7aff7a72e14daa5
+ 7a610a834483650660a98828420cd3bb36f17e077cc0eaf30c4d01db97ee0efd
+ 330f52d045993ca98f6c6376bb67e5c085937553db80fd21503129f9fcdd144d
+ 04d6b61009f7373c49a5381281cae2d4c06d4c5bc42991b3bccfb8b820b95bba
+ 48aac240d50cb3fa651b2299b6add1376f31624fd7666b74ba23761bb535fab7"
 
 build_options="docs"
 desc_option_docs="Build documentation"

From 6e53f56db8bac17247e5e553910d558c482b86d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 23:48:54 +0200
Subject: [PATCH 160/249] openjdk9-bootstap: needs -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk9-bootstrap/template           |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..7771bbd79ec
--- /dev/null
+++ b/srcpkgs/openjdk9-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/common/autoconf/generated-configure.sh	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/generated-configure.sh	2020-08-18 23:29:24.482332056 +0200
+@@ -34082,7 +34082,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34143,7 +34143,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/common/autoconf/toolchain.m4	2017-12-20 00:25:20.000000000 +0100
++++ b/common/autoconf/toolchain.m4	2020-08-18 23:32:12.832325343 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template
index 54c10bd08cc..7fc5dc69376 100644
--- a/srcpkgs/openjdk9-bootstrap/template
+++ b/srcpkgs/openjdk9-bootstrap/template
@@ -108,6 +108,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From cc6abc05d6c111431d2599940d52e3206f1bf037 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 00:21:18 +0200
Subject: [PATCH 161/249] openjdk10-bootstrap: add -fcommon for gcc10

Also add patch to detect compiler versions with major greater than 9.

[ci skip]
---
 .../patches/fix-compiler-version-10+.patch    | 31 +++++++++++++++++++
 srcpkgs/openjdk10-bootstrap/template          |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch

diff --git a/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
new file mode 100644
index 00000000000..88d2784869c
--- /dev/null
+++ b/srcpkgs/openjdk10-bootstrap/patches/fix-compiler-version-10+.patch
@@ -0,0 +1,31 @@
+--- a/make/autoconf/generated-configure.sh	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/generated-configure.sh	2020-08-18 23:58:41.459262000 +0200
+@@ -34373,7 +34373,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *[Uu]sage:.*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/"`
++        $SED -e "s/^.*[ ,\t]$COMPILER_NAME[ ,\t]\([1-9][0-9]*\.[0-9][0-9]*\).*/\1/"`
+   elif test  "x$TOOLCHAIN_TYPE" = xxlc; then
+     # xlc -qversion output typically looks like
+     #     IBM XL C/C++ for AIX, V11.1 (5724-X13)
+@@ -34434,7 +34434,7 @@
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
+         $SED -e 's/ *Copyright .*//'`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* \([1-9]\.[0-9.]*\)[^0-9.].*$/\1/'`
++        $SED -e 's/^.* \([1-9][0-9]*\.[0-9.]*\)[^0-9.].*$/\1/'`
+   elif test  "x$TOOLCHAIN_TYPE" = xclang; then
+     # clang --version output typically looks like
+     #    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
+--- a/make/autoconf/toolchain.m4	2018-06-24 16:07:06.000000000 +0200
++++ b/make/autoconf/toolchain.m4	2020-08-19 00:01:30.294255268 +0200
+@@ -424,7 +424,7 @@
+     # Collapse compiler output into a single line
+     COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
+     COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
+-        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
++        $SED -e 's/^.* version \(@<:@1-9@:>@@<:@0-9@:>@*\.@<:@0-9.@:>@*\).*$/\1/'`
+   else
+       AC_MSG_ERROR([Unknown toolchain type $TOOLCHAIN_TYPE.])
+   fi
diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template
index 10c691273b1..9695f1f1f43 100644
--- a/srcpkgs/openjdk10-bootstrap/template
+++ b/srcpkgs/openjdk10-bootstrap/template
@@ -89,6 +89,8 @@ do_configure() {
 			CXXFLAGS+=" -DABI_ELFv2"
 			;;
 	esac
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 
 	configure_args=${configure_args/--with-libtool-sysroot=\/usr\/[a-z0-9]*-linux-[a-z]*/}
 

From 510206a2e6c400f0a49cc85886995bfe1a256db2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 10:15:00 +0200
Subject: [PATCH 162/249] openjdk11: update to 11.0.9+4

[ci skip]
---
 srcpkgs/openjdk11/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index f647a01b504..e1c9fbef6b2 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -1,14 +1,14 @@
 # Template file for 'openjdk11'
 _java_ver=11
 _java_min_ver=0
-_java_sec_ver=5
-_jdk_update=10
+_java_sec_ver=9
+_jdk_update=4
 _openjdk_version="openjdk-${_java_ver}"
 
 
 pkgname=openjdk11
 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
-revision=4
+revision=1
 wrksrc="jdk${_java_ver}u-jdk-${version}"
 build_style=gnu-configure
 configure_args="
@@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
 license="GPL-2.0-or-later"
 homepage="http://openjdk.java.net/"
 distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
-checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462
+checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4
 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
 
 # Build is still parallel, but don't use -jN.
@@ -149,6 +149,8 @@ do_configure() {
 		CC="/usr/bin/cc"
 		CXX="/usr/bin/c++"
 	fi
+	CFLAGS+=" -fcommon"
+	CXXFLAGS+=" -fcommon"
 	./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS"
 }
 

From 629191d15ceaa7f94ce8ee439b633a3e47f492d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 163/249] openntpd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openntpd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template
index 324b5836c37..8a579147959 100644
--- a/srcpkgs/openntpd/template
+++ b/srcpkgs/openntpd/template
@@ -22,6 +22,8 @@ alternatives="
  ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
  ntpd:ntpd:/etc/sv/openntpd"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From a325c5354007fbed7d3304843244b1f39176e7be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 164/249] openocd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/openocd/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index f08697af5b2..96fbfe432be 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -35,6 +35,8 @@ checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
 system_groups="plugdev"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }

From df37fe447de3b6725fb60f9ffa41dbddf24b36c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 165/249] opentyrian: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/opentyrian/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/opentyrian/template b/srcpkgs/opentyrian/template
index 92a1ef220b5..a07e85bd29b 100644
--- a/srcpkgs/opentyrian/template
+++ b/srcpkgs/opentyrian/template
@@ -16,7 +16,7 @@ distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.
 checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
  7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
 
-CFLAGS="-Wno-error"
+CFLAGS="-Wno-error -fcommon"
 
 pre_build() {
 	sed -i ${wrksrc}/Makefile -e "s;-g0;$CFLAGS;"

From bd5a9508c8e33d7cb4ef64ba15e0fc3b180a42b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 166/249] oroborus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/oroborus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/oroborus/template b/srcpkgs/oroborus/template
index cbfea565947..2e03603ac7d 100644
--- a/srcpkgs/oroborus/template
+++ b/srcpkgs/oroborus/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="http://www.oroborus.org/"
 distfiles="${DEBIAN_SITE}/main/o/oroborus/oroborus_${version}.tar.gz"
 checksum=5220a540bcf6812c6773fbe583d9ea3f54f452cbac55bedcaadeba8c3a9a7b89
+
+CFLAGS="-fcommon"

From 06ae7f4a56d173ae798ff705241201dd1a5e62a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:38 +0200
Subject: [PATCH 167/249] pam_ssh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pam_ssh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template
index 7a8cc44942c..f8a17f44cc9 100644
--- a/srcpkgs/pam_ssh/template
+++ b/srcpkgs/pam_ssh/template
@@ -15,6 +15,8 @@ homepage="http://pam-ssh.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
 checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
 
+CFLAGS="-fcommon"
+
 if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi

From f29ba9e5671df3b2a21c0fe9c9b21f0262a0b7ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 21:56:28 +0200
Subject: [PATCH 168/249] paraview: update to 5.8.1

Also fixes build with gcc10

[ci skip]
---
 srcpkgs/paraview/patches/python3.8.patch | 176 -----------------------
 srcpkgs/paraview/template                |  58 ++------
 2 files changed, 15 insertions(+), 219 deletions(-)
 delete mode 100644 srcpkgs/paraview/patches/python3.8.patch

diff --git a/srcpkgs/paraview/patches/python3.8.patch b/srcpkgs/paraview/patches/python3.8.patch
deleted file mode 100644
index f7489ce1637..00000000000
--- a/srcpkgs/paraview/patches/python3.8.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
-From: David Gobbi <david.gobbi@gmail.com>
-Date: Tue, 20 Aug 2019 17:02:24 -0600
-Subject: [PATCH] Compatibility for Python 3.8
-
-The PyTypeObject struct was modified in Python 3.8, this change is
-required to avoid compile errors.
----
- .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++++++
- Wrapping/PythonCore/PyVTKMethodDescriptor.cxx             | 2 +-
- Wrapping/PythonCore/PyVTKNamespace.cxx                    | 2 +-
- Wrapping/PythonCore/PyVTKReference.cxx                    | 8 ++++----
- Wrapping/PythonCore/PyVTKTemplate.cxx                     | 2 +-
- Wrapping/PythonCore/vtkPythonCompatibility.h              | 8 +++++++-
- Wrapping/Tools/vtkWrapPythonClass.c                       | 2 +-
- Wrapping/Tools/vtkWrapPythonEnum.c                        | 2 +-
- Wrapping/Tools/vtkWrapPythonType.c                        | 2 +-
- 9 files changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-index b1c12c83de..14ccfbe928 100644
---- a/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-+++ b/VTK/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
-@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
- #if PY_VERSION_HEX >= 0x03040000
-   0, // tp_finalize
- #endif
-+#if PY_VERSION_HEX >= 0x03080000
-+  0, // tp_vectorcall
-+#if PY_VERSION_HEX < 0x03090000
-+  0, // tp_print
-+#endif
-+#endif
- };
- 
- static PyObject* vtkWrite(PyObject* self, PyObject* args)
-diff --git a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-index 2b0d443537..3840038498 100644
---- a/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
-@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
-   sizeof(PyMethodDescrObject),           // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKMethodDescriptor_Delete,          // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-index 71ee2a3516..5cf5bfbe6b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKNamespace.cxx
-@@ -49,7 +49,7 @@ PyTypeObject PyVTKNamespace_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKNamespace_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKReference.cxx b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-index 943ac71080..b7104091c0 100644
---- a/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKReference.cxx
-@@ -1010,7 +1010,7 @@ PyTypeObject PyVTKReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1067,7 +1067,7 @@ PyTypeObject PyVTKNumberReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1124,7 +1124,7 @@ PyTypeObject PyVTKStringReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-@@ -1181,7 +1181,7 @@ PyTypeObject PyVTKTupleReference_Type = {
-   sizeof(PyVTKReference),                // tp_basicsize
-   0,                                     // tp_itemsize
-   PyVTKReference_Delete,                 // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-index be200985b3..340fe7953b 100644
---- a/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-+++ b/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx
-@@ -268,7 +268,7 @@ PyTypeObject PyVTKTemplate_Type = {
-   0,                                     // tp_basicsize
-   0,                                     // tp_itemsize
-   nullptr,                               // tp_dealloc
--  nullptr,                               // tp_print
-+  0,                                     // tp_vectorcall_offset
-   nullptr,                               // tp_getattr
-   nullptr,                               // tp_setattr
-   nullptr,                               // tp_compare
-diff --git a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-index 4a767844a6..be208faeef 100644
---- a/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-+++ b/VTK/Wrapping/PythonCore/vtkPythonCompatibility.h
-@@ -64,7 +64,13 @@
- #endif
- 
- // PyTypeObject compatibility
--#if PY_VERSION_HEX >= 0x03040000
-+#if PY_VERSION_HEX >= 0x03090000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03080000
-+#define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-+  0, 0, 0, 0, 0,
-+#elif PY_VERSION_HEX >= 0x03040000
- #define VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED \
-   0, 0, 0,
- #else
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonClass.c b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-index b1e45f8e80..4d558ea081 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonClass.c
-@@ -521,7 +521,7 @@ void vtkWrapPython_GenerateObjectType(
-     "  sizeof(PyVTKObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  PyVTKObject_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-index b933702242..1249362854 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonEnum.c
-@@ -145,7 +145,7 @@ void vtkWrapPython_GenerateEnumType(
-     "  sizeof(PyIntObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  nullptr, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
-diff --git a/VTK/Wrapping/Tools/vtkWrapPythonType.c b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-index 744cb1b9d3..0a1375e541 100644
---- a/VTK/Wrapping/Tools/vtkWrapPythonType.c
-+++ b/VTK/Wrapping/Tools/vtkWrapPythonType.c
-@@ -709,7 +709,7 @@ void vtkWrapPython_GenerateSpecialType(
-     "  sizeof(PyVTKSpecialObject), // tp_basicsize\n"
-     "  0, // tp_itemsize\n"
-     "  Py%s_Delete, // tp_dealloc\n"
--    "  nullptr, // tp_print\n"
-+    "  0, // tp_vectorcall_offset\n"
-     "  nullptr, // tp_getattr\n"
-     "  nullptr, // tp_setattr\n"
-     "  nullptr, // tp_compare\n"
--- 
-2.21.0
-
diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template
index 5a3f92cb8c9..646b85b4ece 100644
--- a/srcpkgs/paraview/template
+++ b/srcpkgs/paraview/template
@@ -1,51 +1,26 @@
 # Template file for 'paraview'
 pkgname=paraview
-version=5.6.1
-revision=6
+version=5.8.1
+revision=1
 wrksrc=ParaView-v${version}
 build_style=cmake
 configure_args="-DPARAVIEW_ENABLE_FFMPEG=ON
  -DPARAVIEW_ENABLE_GDAL=ON
- -DPARAVIEW_ENABLE_MATPLOTLIB=ON
- -DPARAVIEW_ENABLE_PYTHON=ON
+ -DPARAVIEW_USE_PYTHON=ON
  -DPARAVIEW_USE_MPI=ON
- -DPARAVIEW_USE_VISITBRIDGE=OFF
- -DPARAVIEW_USE_OSPRAY=OFF
  -DVTK_PYTHON_FULL_THREADSAFE=ON
  -DVTK_PYTHON_VERSION=3
  -DVTK_SMP_IMPLEMENTATION_TYPE=TBB
  -DVTKm_ENABLE_MPI=ON
  -DVTKm_ENABLE_RENDERING=ON
- -DVTKm_USE_DOUBLE_PRECISION=ON
- -DVTK_USE_SYSTEM_LIBRARIES=OFF
- -DVTK_USE_SYSTEM_DOUBLECONVERSION=ON
- -DVTK_USE_SYSTEM_EIGEN=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_GLEW=ON
- -DVTK_USE_SYSTEM_HDF5=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_JSONCPP=ON
- -DVTK_USE_SYSTEM_LIBPROJ=ON
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_SYSTEM_LZMA=ON
- -DVTK_USE_SYSTEM_MPI4PY=ON
- -DVTK_USE_SYSTEM_NETCDF=ON
- -DVTK_USE_SYSTEM_OGG=ON
- -DVTK_USE_SYSTEM_PEGTL=OFF
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_PUGIXML=ON
- -DVTK_USE_SYSTEM_THEORA=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_PROTOBUF=ON"
+ -DVTKm_USE_DOUBLE_PRECISION=ON"
 makedepends="MesaLib-devel libfreeglut-devel glu-devel libXt-devel
  openmpi-devel qt5-devel qt5-x11extras-devel qt5-tools-devel qt5-plugin-mysql
  qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
- qt5-xmlpatterns python3-devel double-conversion-devel eigen expat-devel
- freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel jsoncpp-devel
- proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel libogg-devel
- libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
+ qt5-svg-devel qt5-xmlpatterns python3-devel double-conversion-devel eigen
+ expat-devel freetype-devel glew-devel hdf5-devel libjpeg-turbo-devel
+ jsoncpp-devel proj-devel libxml2-devel liblzma-devel liblz4-devel netcdf-devel
+ libogg-devel libpng-devel pugixml-devel libtheora-devel tiff-devel zlib-devel
  protobuf-devel protobuf python3-Pygments ffmpeg-devel tbb-devel boost-devel
  libgdal-devel python3-mpi4py"
 depends="openmpi"
@@ -54,10 +29,10 @@ maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
 license="BSD-3-Clause"
 homepage="https://www.paraview.org"
 distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz"
-checksum=50ef01f54db6358b402e50d1460ef47c04d675bf26f250c6937737169f1e6612
+checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034
 patch_args="-Np1"
-CFLAGS="-D_GNU_SOURCE"
-CXXFLAGS="-D_GNU_SOURCE"
+CFLAGS="-D_GNU_SOURCE -fcommon"
+CXXFLAGS="-D_GNU_SOURCE -fcommon"
 
 # qhelpgenerator: could not find a Qt installation of ''
 export QT_SELECT="5"
@@ -67,13 +42,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 fi
 
 post_extract() {
-	case "$XBPS_TARGET_MACHINE" in
-		ppc64*) ;;
-		ppc*)
-			echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
-				VTK/Common/DataModel/CMakeLists.txt
-			;;
-	esac
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
+			VTK/Common/DataModel/CMakeLists.txt
+	fi
 }
 
 post_install() {

From f7683cb8a786e424379144c967dddd9610655db1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 169/249] pcc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template
index a547f4dbc8b..e3c3309a05a 100644
--- a/srcpkgs/pcc/template
+++ b/srcpkgs/pcc/template
@@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps
 checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812
 nocross=1
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
 }

From 918024ac8812883fe2a301842a65bf743ee00697 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 170/249] pcsxr: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pcsxr/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template
index 3604696a988..37bd5f2fe7f 100644
--- a/srcpkgs/pcsxr/template
+++ b/srcpkgs/pcsxr/template
@@ -17,6 +17,8 @@ checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 	intltoolize -f

From 43d746b8705e6337991f287f4fe4bcdd34d359a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 171/249] pdmenu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pdmenu/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pdmenu/template b/srcpkgs/pdmenu/template
index 5c8d8d6b60a..492eb767a5b 100644
--- a/srcpkgs/pdmenu/template
+++ b/srcpkgs/pdmenu/template
@@ -14,6 +14,8 @@ distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version
 checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
 conf_files="/etc/pdmenurc"
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export LIBS="$LDFLAGS"
 }

From c2bbe7526197612efaad560df63406e840717337 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 172/249] pick: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pick/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template
index 6fdbf79021b..fb6a4eacfe2 100644
--- a/srcpkgs/pick/template
+++ b/srcpkgs/pick/template
@@ -14,6 +14,8 @@ homepage="https://github.com/calleerlandsson/pick/"
 distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
 checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	export PREFIX=/usr MANDIR=/usr/share/man
 }

From 3538d02cb3629a9b50df0a7c129eb30e20676ad1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:39 +0200
Subject: [PATCH 173/249] pinfo: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pinfo/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pinfo/template b/srcpkgs/pinfo/template
index 3f2a7c7ec78..d33478747fd 100644
--- a/srcpkgs/pinfo/template
+++ b/srcpkgs/pinfo/template
@@ -3,7 +3,6 @@ pkgname=pinfo
 version=0.6.13
 revision=2
 build_style=gnu-configure
-configure_args="CFLAGS=-Wno-error"
 hostmakedepends="automake gettext tar texinfo"
 makedepends="gettext-devel ncurses-devel"
 short_desc="Lynx-style info and man reader"
@@ -13,6 +12,8 @@ homepage="https://github.com/baszoetekouw/pinfo"
 distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
 checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
 
+CFLAGS="-Wno-error -fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From fcfae310196934daf77e504eb89f61417fba1443 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 174/249] pixz: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/pixz/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template
index 09dbe78de8c..7bfa2b0a745 100644
--- a/srcpkgs/pixz/template
+++ b/srcpkgs/pixz/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vasi/pixz"
 distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
 checksum=ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

From dbd1aecb5d230b3456308c95ee8179c03c9a8581 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 175/249] plan9port: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/plan9port/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template
index 5416ac5af0a..5b3e2789e95 100644
--- a/srcpkgs/plan9port/template
+++ b/srcpkgs/plan9port/template
@@ -19,6 +19,8 @@ if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then
 	makedepends+=" libucontext-devel"
 fi
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	# add missing LDFLAGS for some rules
 	vsed -e '/prereq$/s/$/ $LDFLAGS/' \

From 00cc1d1940d1e2b612f9217a4f966735cc60a840 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 176/249] prboom-plus: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/prboom-plus/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template
index 8b8c71c9199..b492e41874e 100644
--- a/srcpkgs/prboom-plus/template
+++ b/srcpkgs/prboom-plus/template
@@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
 	sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in

From d9873d4b74ca5a670b19fc172bfa866081f53c5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 177/249] psiconv: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/psiconv/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/psiconv/template b/srcpkgs/psiconv/template
index cbffc5f8400..6fdeb09ed74 100644
--- a/srcpkgs/psiconv/template
+++ b/srcpkgs/psiconv/template
@@ -14,6 +14,8 @@ homepage="http://frodo.looijaard.name/project/psiconv"
 distfiles="http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-${version}.tar.gz"
 checksum=6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0
 
+CFLAGS="-fcommon"
+
 psiconv-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

From 8d2ccd47d8f77d40d0a299a389ea9ee444480b24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 178/249] python-notify: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/python-notify/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template
index 9c11aa89ecc..7bfe11b2da9 100644
--- a/srcpkgs/python-notify/template
+++ b/srcpkgs/python-notify/template
@@ -18,6 +18,8 @@ replaces="notify-python>=0"
 patch_args="-Np1"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure

From c1828571ad804770dc812ae27775dfd760060cd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:40 +0200
Subject: [PATCH 179/249] qingy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qingy/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template
index f7cb416180d..c335bf971e8 100644
--- a/srcpkgs/qingy/template
+++ b/srcpkgs/qingy/template
@@ -26,6 +26,8 @@ conf_files="
 build_options="pam x11"
 build_options_default="pam x11"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	sed -i '/pam_console/d' ${DESTDIR}/etc/pam.d/qingy
 	sed -i 's#usr/X11R6/bin#usr/bin#' ${DESTDIR}/etc/qingy/settings

From 5679ea6ad0255534593158931829dbee5e15f5fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:10:56 +0200
Subject: [PATCH 180/249] qt5-fsarchiver: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qt5-fsarchiver/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 46688c1055e..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -16,6 +16,8 @@ homepage="https://sourceforge.net/projects/qt4-fsarchiver"
 distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
 checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"

From 530780aadd1c099152b677af4c9b8b6fc75e1652 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:24:31 +0200
Subject: [PATCH 181/249] qv4l2: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/qv4l2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template
index 5d1f29e9737..30929bd2c60 100644
--- a/srcpkgs/qv4l2/template
+++ b/srcpkgs/qv4l2/template
@@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
 	LDFLAGS="-lpthread"
 fi
 
-CFLAGS="-Wno-error=unused-function"
+CFLAGS="-Wno-error=unused-function -fcommon"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" argp-standalone"

From 7c91be52795ae98816c30d0b7965663ec6a9b804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 182/249] read-edid: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/read-edid/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/read-edid/template b/srcpkgs/read-edid/template
index 369b5d718d1..ef0abdc4b90 100644
--- a/srcpkgs/read-edid/template
+++ b/srcpkgs/read-edid/template
@@ -14,6 +14,8 @@ homepage="http://www.polypux.org/projects/read-edid/"
 distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
 checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
 
+CFLAGS="-fcommon"
+
 pre_install() {
 	sed -i 's/COPYING//' CMakeLists.txt
 }

From 1684313d05f972599f15590736a80b79acae2484 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 183/249] rix: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rix/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template
index 397198dd202..23d16e5e2da 100644
--- a/srcpkgs/rix/template
+++ b/srcpkgs/rix/template
@@ -11,6 +11,8 @@ homepage="https://github.com/riolet/rix"
 distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz"
 checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c
 
+CFLAGS="-fcommon"
+
 do_install() {
 	vbin rixc
 	vbin clr.sh

From 4bb01f27f2ad29c8d5517cb4c07a5a3e4c5f942b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:41 +0200
Subject: [PATCH 184/249] roccat-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/roccat-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template
index b4241e65836..070b9305bcf 100644
--- a/srcpkgs/roccat-tools/template
+++ b/srcpkgs/roccat-tools/template
@@ -19,6 +19,8 @@ distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
 system_groups="_roccat"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" dbus-glib-devel"
 	# Project tries to use TRY_RUN(), pass the result to be used as cache

From b2e13c8072f4f3f91664ca8e0cde9843a0f4c4fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 185/249] rox: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/rox/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rox/template b/srcpkgs/rox/template
index 4e5d1cbdc3f..625e4e26215 100644
--- a/srcpkgs/rox/template
+++ b/srcpkgs/rox/template
@@ -12,9 +12,10 @@ license="GPL-2.0-only"
 homepage="http://rox.sourceforge.net/desktop/"
 distfiles="${SOURCEFORGE_SITE}/rox/rox-filer-$version.tar.bz2"
 checksum=a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8
-
 nocross=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	./ROX-Filer/AppRun --compile LIBS="-ldl -lm"
 	rsvg-convert -w 48 -h 38 -f png -o rox.png ${FILESDIR}/rox.svg

From 75237fb3bfc50ba5d98b6b1aca1e4988f7f4361b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:42 +0200
Subject: [PATCH 186/249] saldl: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/saldl/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/saldl/template b/srcpkgs/saldl/template
index 4d8c4a2f638..7a703fb658d 100644
--- a/srcpkgs/saldl/template
+++ b/srcpkgs/saldl/template
@@ -13,6 +13,8 @@ homepage="https://saldl.github.io/"
 distfiles="https://github.com/saldl/saldl/archive/v${version}.tar.gz"
 checksum=1cb7950848517fb82ec39561bf36c8cbc0a0caf8fa85355a5b76cac0281346ce
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 77029a2a924dc947e1fa4b89ce321340fdbc16dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 12:11:55 +0200
Subject: [PATCH 187/249] sc-im: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sc-im/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sc-im/template b/srcpkgs/sc-im/template
index 395f215ea3f..2da1fda25e0 100644
--- a/srcpkgs/sc-im/template
+++ b/srcpkgs/sc-im/template
@@ -16,6 +16,8 @@ homepage="https://github.com/andmarti1424/sc-im/"
 distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
 checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	vsed -i -e 's/lua51/lua5.1/g' \
 		-e 's/^ *CFLAGS/override &/' \

From 9f2a2306f5cc21132ba866ef05cf1157e7a14ac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 188/249] shadowsocks-libev: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/shadowsocks-libev/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/shadowsocks-libev/template b/srcpkgs/shadowsocks-libev/template
index 52c4fddfee4..910dbd2a505 100644
--- a/srcpkgs/shadowsocks-libev/template
+++ b/srcpkgs/shadowsocks-libev/template
@@ -16,6 +16,8 @@ checksum=fce47a956fad0c30def9c71821bcec450a40d3f881548e31e66cedf262b89eb1
 system_accounts="shadowsocks"
 make_dirs="/etc/${pkgname} 0750 shadowsocks shadowsocks"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsv ${pkgname}-server
 	vsv ${pkgname}-client

From de35e46852ee2fdfead80f0cb3f15f0236cc9804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 189/249] sharutils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sharutils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template
index ae8323ba82f..26ff6c07440 100644
--- a/srcpkgs/sharutils/template
+++ b/srcpkgs/sharutils/template
@@ -11,3 +11,5 @@ license="GPL-3"
 homepage="http://www.gnu.org/software/sharutils"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
+
+CFLAGS="-fcommon"

From 39aa63e018e000f8581e527b67b0f2d738f0ae65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:43 +0200
Subject: [PATCH 190/249] simh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/simh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/simh/template b/srcpkgs/simh/template
index 6472752081d..40078c692e9 100644
--- a/srcpkgs/simh/template
+++ b/srcpkgs/simh/template
@@ -14,6 +14,8 @@ distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
 checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
 nopie=yes
 
+CFLAGS="-fcommon"
+
 do_build() {
 	mkdir -p BIN
 	make ${makejobs} all \

From 1aa5451ad849c3f625d3872bd5b7562227bf6b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:09:43 +0200
Subject: [PATCH 191/249] siril: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/siril/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/siril/template b/srcpkgs/siril/template
index 5a3f57e717f..25a7a414e72 100644
--- a/srcpkgs/siril/template
+++ b/srcpkgs/siril/template
@@ -15,9 +15,11 @@ homepage="https://www.siril.org/"
 distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
 checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) makedepends+=" libexecinfo-devel" ;;
-esac
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh

From c659eab3ee756441ec7e50e0f8d405d21e2d13d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 192/249] slurm-wlm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/slurm-wlm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index efa2aa3064c..9753cabe79f 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -18,6 +18,8 @@ homepage="http://slurm.schedmd.com/slurm.html"
 distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07
 
+CFLAGS="-fcommon"
+
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
 	# configure: error: 32-bit support is deprecated, and not tested
 	# regularly. Use at your own risk.

From 4b9309a325cee9a6c8713b2944392c16c72f5d52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:44 +0200
Subject: [PATCH 193/249] sniproxy: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/sniproxy/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template
index 25eaee470c6..1aa2e194671 100644
--- a/srcpkgs/sniproxy/template
+++ b/srcpkgs/sniproxy/template
@@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
 
 conf_files="/etc/${pkgname}.conf"
 
+CFLAGS="-fcommon"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

From 716b81ae8c6a7c6d7fa19b76a6c27aaf10a047c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:30:19 +0200
Subject: [PATCH 194/249] spacefm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spacefm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template
index ed0eaaf6016..d0b2d831418 100644
--- a/srcpkgs/spacefm/template
+++ b/srcpkgs/spacefm/template
@@ -15,3 +15,5 @@ license="GPL-3.0-or-later"
 homepage="http://ignorantguru.github.io/spacefm/"
 distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
 checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
+
+CFLAGS="-fcommon"

From 60ad28b555ae2c8528ccf29f993cf83d2da4a313 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 195/249] spectrum3d: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/spectrum3d/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/spectrum3d/template b/srcpkgs/spectrum3d/template
index 1c9f0692481..3d5c0483198 100644
--- a/srcpkgs/spectrum3d/template
+++ b/srcpkgs/spectrum3d/template
@@ -11,3 +11,5 @@ license="GPL-3.0-or-later"
 homepage="https://spectrum3d.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/spectrum3d/spectrum3d-${version}.tar.gz"
 checksum=274ec3cb16070e2441d3d202fce946c4c4c22c9ac6275d950ad989ed5111e4cb
+
+CFLAGS="-fcommon"

From dd9e85e4b23f2c877c884ac2dfcd987d2a29f868 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:39:34 +0200
Subject: [PATCH 196/249] speech-dispatcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/speech-dispatcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template
index 08f4545e43d..7640cee91c0 100644
--- a/srcpkgs/speech-dispatcher/template
+++ b/srcpkgs/speech-dispatcher/template
@@ -19,6 +19,8 @@ conf_files="
  /etc/speech-dispatcher/modules/*.conf
  /etc/speech-dispatcher/*.conf"
 
+CFLAGS="-fcommon"
+
 speech-dispatcher-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}-${version}_${revision}"

From 1669dc8bab1d10308604d69b19251fc1da722740 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 197/249] squashfs-tools: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/squashfs-tools/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template
index 28697ad93ad..7692eb01761 100644
--- a/srcpkgs/squashfs-tools/template
+++ b/srcpkgs/squashfs-tools/template
@@ -13,6 +13,8 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
 checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e
 
+CFLAGS="-fcommon"
+
 do_build() {
 	make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
 }

From c8b19f1697f665142a3e3ab228fa96c8ba2d1c6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:45 +0200
Subject: [PATCH 198/249] suricata: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/suricata/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 1a93a7f4ee6..ca2bc766139 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -32,6 +32,8 @@ fi
 system_accounts="$pkgname"
 conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
 
+CFLAGS="-fcommon"
+
 post_build() {
 	sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
 	sed -i "s|#  user: suri|  user: $pkgname|g" $pkgname.yaml

From 2efdfa1a0ceb833035018a3d0922ba9dccfa90d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:46 +0200
Subject: [PATCH 199/249] syslinux: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/syslinux/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template
index a352736fc88..2c8cfb05553 100644
--- a/srcpkgs/syslinux/template
+++ b/srcpkgs/syslinux/template
@@ -16,14 +16,15 @@ nopie=yes
 
 pre_build() {
 	# Do not try to build the Windows or DOS installers and DIAG files
-	sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
-	sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
-	sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
-	sed 's|dos/syslinux.com||g' -i Makefile
-	sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
-	sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
+	vsed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
+	vsed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
+	vsed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
+	vsed 's|dos/syslinux.com||g' -i Makefile
+	vsed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
+	vsed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile
 	# Fix FHS manpage path
-	sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
+	vsed '/GCCOPT += $(call gcc_ok,-fPIC)/i GCCOPT += $(call gcc_ok,-fcommon)' -i mk/lib.mk
 }
 
 do_build() {

From 6e125c9ab4d6e6082726b237864c4e72913bb892 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 200/249] tcsh: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tcsh/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template
index 51f8110b082..2979c859232 100644
--- a/srcpkgs/tcsh/template
+++ b/srcpkgs/tcsh/template
@@ -13,6 +13,8 @@ distfiles="http://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 register_shell="/bin/tcsh /bin/csh"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i '/define BSDWAIT/d' sh.proc.c
 }

From 039470493c0c45d9ee45799a1e1e4eeba0152324 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 201/249] termrec: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/termrec/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/termrec/template b/srcpkgs/termrec/template
index d73a91b6e2f..db448a54bfb 100644
--- a/srcpkgs/termrec/template
+++ b/srcpkgs/termrec/template
@@ -11,6 +11,8 @@ homepage="http://angband.pl/termrec.html"
 distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
 checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
 
+CFLAGS="-fcommon"
+
 libtermrec_package() {
 	short_desc+=" - libraries"
 	pkg_install() {

From e18827235889feed51707b391a35f38f60a15140 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 202/249] tftp-hpa: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tftp-hpa/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template
index bc0eac1c42e..5bfb94b430d 100644
--- a/srcpkgs/tftp-hpa/template
+++ b/srcpkgs/tftp-hpa/template
@@ -20,6 +20,8 @@ alternatives="
  tftp:tftpd.8:/usr/share/man/man8/in.tftpd.8
  "
 
+CFLAGS="-fcommon"
+
 do_install() {
 	make INSTALLROOT=${DESTDIR} install
 	mv ${DESTDIR}/usr/bin/{tftp,${pkgname}}

From 1928de810120cc6baedeb0b477053144ad51337d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:47 +0200
Subject: [PATCH 203/249] thc-hydra: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/thc-hydra/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template
index 5b325bd5383..479edb7434c 100644
--- a/srcpkgs/thc-hydra/template
+++ b/srcpkgs/thc-hydra/template
@@ -13,6 +13,8 @@ homepage="https://github.com/vanhauser-thc/thc-hydra"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=56672e253c128abaa6fb19e77f6f59ba6a93762a9ba435505a009ef6d58e8d0e
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 2cec7bb90fcc686ffa8ed57fa1524a936daf7be8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 204/249] the_silver_searcher: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/the_silver_searcher/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/the_silver_searcher/template b/srcpkgs/the_silver_searcher/template
index c3c9f981c1e..54c8723d6f3 100644
--- a/srcpkgs/the_silver_searcher/template
+++ b/srcpkgs/the_silver_searcher/template
@@ -14,6 +14,8 @@ homepage="https://geoff.greer.fm/ag/"
 distfiles="https://geoff.greer.fm/ag/releases/${pkgname}-${version}.tar.gz"
 checksum=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170
 
+CFLAGS="-fcommon"
+
 post_install() {
 	rm ${DESTDIR}/usr/share/the_silver_searcher/completions/ag.bashcomp.sh
 	vinstall ag.bashcomp.sh 644 usr/share/bash-completion/completions ag

From ab1cae34eac2f0c53c43242c6fd840c954899492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:48 +0200
Subject: [PATCH 205/249] tlsdate: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tlsdate/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tlsdate/template b/srcpkgs/tlsdate/template
index 3b82f90d00e..ccdbef1a5d7 100644
--- a/srcpkgs/tlsdate/template
+++ b/srcpkgs/tlsdate/template
@@ -17,6 +17,8 @@ homepage="https://github.com/ioerror/tlsdate"
 distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
 checksum=90efdff87504b5159cb6a3eefa9ddd43723c073d49c4b3febba9e48fc1292bf9
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	# use system certs
 	sed -i Makefile.am \

From a36b25fb8b3475992612cbbc2cb63a96cb4ddfb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:50 +0200
Subject: [PATCH 206/249] transcode: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transcode/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template
index 1b37932c263..775cd09fc4e 100644
--- a/srcpkgs/transcode/template
+++ b/srcpkgs/transcode/template
@@ -16,6 +16,8 @@ homepage="https://bitbucket.org/mojaves/transcode-tcforge"
 distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2"
 checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	mkdir -p m4
 	mv configure.{in,ac}

From 27beea50816067789886ee8afeec132f8691cbae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:41:03 +0200
Subject: [PATCH 207/249] transmission-remote-gtk: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/transmission-remote-gtk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/transmission-remote-gtk/template b/srcpkgs/transmission-remote-gtk/template
index faa2aca9bb5..107565f0a64 100644
--- a/srcpkgs/transmission-remote-gtk/template
+++ b/srcpkgs/transmission-remote-gtk/template
@@ -15,3 +15,5 @@ checksum=59978381a558fc6d1a11091c702a88ac0be8fc7fa135ca367eec55f572a112ab
 
 build_options="geoip"
 build_options_default="geoip"
+
+CFLAGS="-fcommon"

From 250d3357c6a74d5558f8d3eb9b855b93370f901c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 208/249] trinity: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trinity/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template
index 9739055753b..a7a561e89cb 100644
--- a/srcpkgs/trinity/template
+++ b/srcpkgs/trinity/template
@@ -11,6 +11,8 @@ distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz"
 checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c
 nocross="Mis-use of memfd_create declaration"
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
 fi

From 67866d7b5f80638b3b4818c2bebfe3583bbf67ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:51 +0200
Subject: [PATCH 209/249] trn: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trn/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template
index f3f0f7181e9..73a546e46ae 100644
--- a/srcpkgs/trn/template
+++ b/srcpkgs/trn/template
@@ -15,6 +15,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
 checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
 nocross="sh: ./try: cannot execute binary file: Exec format error"
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/pipe2/pipetwo/g' filter.c
 	sed -i '1i#include <time.h>' nntpclient.h

From b20cb74fa5bd4b61d15a2eaa81d13b12079178ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:52 +0200
Subject: [PATCH 210/249] trousers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/trousers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template
index 375d8f308b4..59aa7ec6d10 100644
--- a/srcpkgs/trousers/template
+++ b/srcpkgs/trousers/template
@@ -18,6 +18,8 @@ checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
 
 make_dirs="/var/lib/tpm 0700 tss tss"
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 	vsv tcsd

From cc2ec94d6a037b4126778906d920224133b3e3bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 211/249] tty-solitaire: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tty-solitaire/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tty-solitaire/template b/srcpkgs/tty-solitaire/template
index 59828d0b339..3203baa6585 100644
--- a/srcpkgs/tty-solitaire/template
+++ b/srcpkgs/tty-solitaire/template
@@ -12,6 +12,8 @@ homepage="https://github.com/mpereira/tty-solitaire"
 distfiles="https://github.com/mpereira/tty-solitaire/archive/v${version}.tar.gz"
 checksum=146f9ed6ee9d79dfd936c213e3a413a967daba3978fb1021e05a1c52c7684e9c
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense LICENSE
 }

From 914a8cf0b45c062aba234863f75be8c9b9a9b29e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 212/249] tvheadend: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/tvheadend/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/tvheadend/template b/srcpkgs/tvheadend/template
index e7c483aee4c..e32d30f917f 100644
--- a/srcpkgs/tvheadend/template
+++ b/srcpkgs/tvheadend/template
@@ -17,6 +17,8 @@ homepage="http://tvheadend.org"
 distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
 checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	sed -i '/^${PROG}:/s/check_config//' Makefile
 	sed -i 's/-Werror//' Makefile

From df7f4602486090fbb2c6beb23b0a1aac8ad098fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:54 +0200
Subject: [PATCH 213/249] typespeed: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/typespeed/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template
index 1f82b1b29bd..52d5bf5291a 100644
--- a/srcpkgs/typespeed/template
+++ b/srcpkgs/typespeed/template
@@ -13,6 +13,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
 mutable_files="/var/games/typespeed.score"
 
+CFLAGS="-fcommon"
+
 post_configure() {
 	for dir in src testsuite; do
 		sed -i 's/CC = gcc//' $dir/Makefile

From f15d9fd7b85e7dc6bea521330db4148a0c95a662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 214/249] uget: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uget/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uget/template b/srcpkgs/uget/template
index c0d26f0606b..050eb3a9790 100644
--- a/srcpkgs/uget/template
+++ b/srcpkgs/uget/template
@@ -11,3 +11,5 @@ license="LGPL-2.1-or-later"
 homepage="http://ugetdm.com/"
 distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
 checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
+
+CFLAGS="-fcommon"

From c3d5c4e0e46dfd8c9b2ca27c419be934df489d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:44:54 +0200
Subject: [PATCH 215/249] uim: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uim/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 4e147bf023e..2aec8fe9605 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -15,6 +15,8 @@ homepage="https://github.com/uim/uim/wiki"
 distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2"
 checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING
 }

From 731230f5679fce25f83652d79fcdead9efbbbf0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:55 +0200
Subject: [PATCH 216/249] uwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/uwm/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template
index a822d4d7631..071a909fa44 100644
--- a/srcpkgs/uwm/template
+++ b/srcpkgs/uwm/template
@@ -4,9 +4,11 @@ version=0.2.11a
 revision=2
 build_style=gnu-configure
 makedepends="libXmu-devel libXpm-devel"
-short_desc="The ultimate window manager"
+short_desc="Ultimate window manager"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://udeproject.sourceforge.net"
 distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz"
 checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408
+
+CFLAGS="-fcommon"

From 6babaaa943e39287181a7867f653735ea0a86bf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:57 +0200
Subject: [PATCH 217/249] v4l-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/v4l-utils/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template
index 2642871b39f..51a82716e45 100644
--- a/srcpkgs/v4l-utils/template
+++ b/srcpkgs/v4l-utils/template
@@ -22,6 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
 		;;
 esac
 
+CFLAGS+=" -fcommon"
+
 pre_configure() {
 	autoreconf -if
 }

From 89eb6a056699122a550e719753da17938b51ed0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:48:58 +0200
Subject: [PATCH 218/249] vboot-utils: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vboot-utils/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template
index 6eedd498198..46871f18f25 100644
--- a/srcpkgs/vboot-utils/template
+++ b/srcpkgs/vboot-utils/template
@@ -10,7 +10,7 @@ short_desc="Verified boot kernel utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD"
 homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
-CFLAGS='-D_GNU_SOURCE -Wno-error'
+CFLAGS='-D_GNU_SOURCE -Wno-error -fcommon'
 
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/8508/steps/shell_3/logs/stdio" ;;

From 0b00fdbd1452bff5350bbd1adc05c7113f665a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:00 +0200
Subject: [PATCH 219/249] vgmplay: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vgmplay/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/vgmplay/template b/srcpkgs/vgmplay/template
index a1a12485f55..43a844368c9 100644
--- a/srcpkgs/vgmplay/template
+++ b/srcpkgs/vgmplay/template
@@ -12,6 +12,7 @@ homepage="https://github.com/vgmrips/vgmplay/"
 distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
 checksum=84f324a2f2fa01410a5d965cd227b24457b984e1bbd0ebfb768c9b545a47b521
 
+CFLAGS="-fcommon"
 LDFLAGS="-lm -pthread -lao -lz"
 
 pre_build() {

From 8d8e3dd597dd1037eeed2dc98ce9e17e847e0061 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 19:55:17 +0200
Subject: [PATCH 220/249] vice: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vice/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 624a04c347f..4393c18a398 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -41,6 +41,8 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
+CFLAGS="-fcommon"
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" --disable-nls";;
 esac

From 960827e1b1a1ec38b486ec0f2f42ef31426723ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:01 +0200
Subject: [PATCH 221/249] vifm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vifm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template
index 1967c6c719e..557585589cd 100644
--- a/srcpkgs/vifm/template
+++ b/srcpkgs/vifm/template
@@ -14,6 +14,8 @@ homepage="https://vifm.info/"
 distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
 checksum=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vsconf data/vifmrc
 	rm -f ${DESTDIR}/usr/share/vifm/vifmrc

From 4bba4b706efd4a69c8f152bb29530b2eddfb06c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:13:54 +0200
Subject: [PATCH 222/249] viking: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/viking/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template
index 64cbe578689..e0807418eca 100644
--- a/srcpkgs/viking/template
+++ b/srcpkgs/viking/template
@@ -18,3 +18,5 @@ homepage="https://sourceforge.net/projects/viking"
 distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
 checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
 patch_args="-Np1"
+
+CFLAGS="-fcommon"

From 11e7244f06e061cce7b4733d6d6ebfe43cb0373c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:02 +0200
Subject: [PATCH 223/249] vilistextum: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vilistextum/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vilistextum/template b/srcpkgs/vilistextum/template
index f5ffe47b536..aa10c3427fe 100644
--- a/srcpkgs/vilistextum/template
+++ b/srcpkgs/vilistextum/template
@@ -12,6 +12,8 @@ homepage="http://bhaak.net/vilistextum"
 distfiles="http://bhaak.net/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=3a16b4d70bfb144e044a8d584f091b0f9204d86a716997540190100c20aaf88d
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	sed -i '/SUBDIRS =/s/tests//' Makefile.am
 	autoreconf -fi

From 7b6456f56f54fc3d7725838b3c56e0a825edaded Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:15:54 +0200
Subject: [PATCH 224/249] vinagre: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vinagre/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vinagre/template b/srcpkgs/vinagre/template
index 05c0c384d41..e24c947574d 100644
--- a/srcpkgs/vinagre/template
+++ b/srcpkgs/vinagre/template
@@ -15,3 +15,5 @@ homepage="http://projects.gnome.org/vinagre"
 license="GPL-2"
 distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
 checksum=cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
+
+CFLAGS="-fcommon"

From 782a090214673027c26b40db8658e7af80ca560f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:02:17 +0200
Subject: [PATCH 225/249] vokoscreen: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vokoscreen/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/vokoscreen/template b/srcpkgs/vokoscreen/template
index 3baf73f1c67..5063c45df7e 100644
--- a/srcpkgs/vokoscreen/template
+++ b/srcpkgs/vokoscreen/template
@@ -16,3 +16,5 @@ checksum=7f5d9abfa3b4a1f7ce657838f5169cd80a590be490dacd0ad1751853a38f4245
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-x11extras-devel"
 fi
+
+CFLAGS="-fcommon"

From 46e0c1e642da6e4064c6e389d27637065dfc19a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:04 +0200
Subject: [PATCH 226/249] vpcs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpcs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template
index 396c3f0d73d..34b4c0ddd86 100644
--- a/srcpkgs/vpcs/template
+++ b/srcpkgs/vpcs/template
@@ -7,13 +7,15 @@ build_style=gnu-makefile
 make_cmd="make -f Makefile.linux"
 short_desc="Virtual PC Simulator"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
-license="2-clause-BSD"
+license="BSD-2-Clause"
 homepage="https://sourceforge.net/projects/vpcs"
 distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
 checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;

From 0e4f7acc922d07fe5f75fa253862315b924676fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:05 +0200
Subject: [PATCH 227/249] vpn-ws: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/vpn-ws/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template
index f5914c07390..bfa1bcc9f34 100644
--- a/srcpkgs/vpn-ws/template
+++ b/srcpkgs/vpn-ws/template
@@ -12,7 +12,7 @@ homepage="https://github.com/unbit/vpn-ws"
 distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
 checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
 
-CFLAGS+=" -Wno-stringop-truncation"
+CFLAGS+=" -Wno-stringop-truncation -fcommon"
 
 # no install target in the Makefile
 do_install() {

From c856d9dd5b61044e42b47182882bb4e5a6edc1de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 20:27:07 +0200
Subject: [PATCH 228/249] vtk: update to 9.0.1

This fixes build for gcc10.

[ci skip]
---
 common/shlibs        | 208 +++++++++++++++++++++----------------------
 srcpkgs/vtk/template |  32 +------
 2 files changed, 108 insertions(+), 132 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index b28d158df83..4ee9b8a8e32 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3292,110 +3292,110 @@ libgnuradio-uhd.so.3.8.0 gnuradio-3.8.0.0_1
 libgnuradio-osmosdr.so.0.2.0 gnuradio-osmosdr-0.2.0_1
 libflann_cpp.so.1.9 flann-1.9.1_1
 libflann.so.1.9 flann-1.9.1_1
-libvtkChartsCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonColor-8.2.so.1 vtk-8.2.0_1
-libvtkCommonComputationalGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkCommonCore-8.2.so.1 vtk-8.2.0_1
-libvtkCommonDataModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonExecutionModel-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMath-8.2.so.1 vtk-8.2.0_1
-libvtkCommonMisc-8.2.so.1 vtk-8.2.0_1
-libvtkCommonSystem-8.2.so.1 vtk-8.2.0_1
-libvtkCommonTransforms-8.2.so.1 vtk-8.2.0_1
-libvtkDICOMParser-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistry-8.2.so.1 vtk-8.2.0_1
-libvtkDomainsChemistryOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersAMR-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersCore-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersExtraction-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersFlowPaths-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeneric-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersHyperTree-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersModeling-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallel-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersParallelImaging-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersPoints-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersProgrammable-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSMP-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSelection-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersSources-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTexture-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersTopology-8.2.so.1 vtk-8.2.0_1
-libvtkFiltersVerdict-8.2.so.1 vtk-8.2.0_1
-libvtkGeovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOAMR-8.2.so.1 vtk-8.2.0_1
-libvtkIOAsynchronous-8.2.so.1 vtk-8.2.0_1
-libvtkIOCityGML-8.2.so.1 vtk-8.2.0_1
-libvtkIOCore-8.2.so.1 vtk-8.2.0_1
-libvtkIOEnSight-8.2.so.1 vtk-8.2.0_1
-libvtkIOExodus-8.2.so.1 vtk-8.2.0_1
-libvtkIOExport-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkIOExportPDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOGeometry-8.2.so.1 vtk-8.2.0_1
-libvtkIOImage-8.2.so.1 vtk-8.2.0_1
-libvtkIOImport-8.2.so.1 vtk-8.2.0_1
-libvtkIOInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkIOLSDyna-8.2.so.1 vtk-8.2.0_1
-libvtkIOLegacy-8.2.so.1 vtk-8.2.0_1
-libvtkIOMINC-8.2.so.1 vtk-8.2.0_1
-libvtkIOMPIParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOMovie-8.2.so.1 vtk-8.2.0_1
-libvtkIONetCDF-8.2.so.1 vtk-8.2.0_1
-libvtkIOPLY-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallel-8.2.so.1 vtk-8.2.0_1
-libvtkIOParallelXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOSQL-8.2.so.1 vtk-8.2.0_1
-libvtkIOSegY-8.2.so.1 vtk-8.2.0_1
-libvtkIOTecplotTable-8.2.so.1 vtk-8.2.0_1
-libvtkIOVeraOut-8.2.so.1 vtk-8.2.0_1
-libvtkIOVideo-8.2.so.1 vtk-8.2.0_1
-libvtkIOXML-8.2.so.1 vtk-8.2.0_1
-libvtkIOXMLParser-8.2.so.1 vtk-8.2.0_1
-libvtkImagingColor-8.2.so.1 vtk-8.2.0_1
-libvtkImagingCore-8.2.so.1 vtk-8.2.0_1
-libvtkImagingFourier-8.2.so.1 vtk-8.2.0_1
-libvtkImagingGeneral-8.2.so.1 vtk-8.2.0_1
-libvtkImagingHybrid-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMath-8.2.so.1 vtk-8.2.0_1
-libvtkImagingMorphological-8.2.so.1 vtk-8.2.0_1
-libvtkImagingSources-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStatistics-8.2.so.1 vtk-8.2.0_1
-libvtkImagingStencil-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisCore-8.2.so.1 vtk-8.2.0_1
-libvtkInfovisLayout-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionImage-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionStyle-8.2.so.1 vtk-8.2.0_1
-libvtkInteractionWidgets-8.2.so.1 vtk-8.2.0_1
-libvtkParallelCore-8.2.so.1 vtk-8.2.0_1
-libvtkParallelMPI-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingAnnotation-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingContextOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingCore-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingFreeType-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingGL2PSOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingImage-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLOD-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingLabel-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolume-8.2.so.1 vtk-8.2.0_1
-libvtkRenderingVolumeOpenGL2-8.2.so.1 vtk-8.2.0_1
-libvtkViewsContext2D-8.2.so.1 vtk-8.2.0_1
-libvtkViewsCore-8.2.so.1 vtk-8.2.0_1
-libvtkViewsInfovis-8.2.so.1 vtk-8.2.0_1
-libvtkexodusII-8.2.so.1 vtk-8.2.0_1
-libvtkgl2ps-8.2.so.1 vtk-8.2.0_1
-libvtklibharu-8.2.so.1 vtk-8.2.0_1
-libvtkmetaio-8.2.so.1 vtk-8.2.0_1
-libvtkpugixml-8.2.so.1 vtk-8.2.0_1
-libvtksys-8.2.so.1 vtk-8.2.0_1
-libvtkverdict-8.2.so.1 vtk-8.2.0_1
+libvtkChartsCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonColor-9.0.so.1 vtk-9.0.1_1
+libvtkCommonComputationalGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkCommonCore-9.0.so.1 vtk-9.0.1_1
+libvtkCommonDataModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonExecutionModel-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMath-9.0.so.1 vtk-9.0.1_1
+libvtkCommonMisc-9.0.so.1 vtk-9.0.1_1
+libvtkCommonSystem-9.0.so.1 vtk-9.0.1_1
+libvtkCommonTransforms-9.0.so.1 vtk-9.0.1_1
+libvtkDICOMParser-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistry-9.0.so.1 vtk-9.0.1_1
+libvtkDomainsChemistryOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersAMR-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersCore-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersExtraction-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersFlowPaths-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeneric-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersHyperTree-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersModeling-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallel-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersParallelImaging-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersPoints-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersProgrammable-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSMP-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSelection-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersSources-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTexture-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersTopology-9.0.so.1 vtk-9.0.1_1
+libvtkFiltersVerdict-9.0.so.1 vtk-9.0.1_1
+libvtkGeovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOAMR-9.0.so.1 vtk-9.0.1_1
+libvtkIOAsynchronous-9.0.so.1 vtk-9.0.1_1
+libvtkIOCityGML-9.0.so.1 vtk-9.0.1_1
+libvtkIOCore-9.0.so.1 vtk-9.0.1_1
+libvtkIOEnSight-9.0.so.1 vtk-9.0.1_1
+libvtkIOExodus-9.0.so.1 vtk-9.0.1_1
+libvtkIOExport-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkIOExportPDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOGeometry-9.0.so.1 vtk-9.0.1_1
+libvtkIOImage-9.0.so.1 vtk-9.0.1_1
+libvtkIOImport-9.0.so.1 vtk-9.0.1_1
+libvtkIOInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkIOLSDyna-9.0.so.1 vtk-9.0.1_1
+libvtkIOLegacy-9.0.so.1 vtk-9.0.1_1
+libvtkIOMINC-9.0.so.1 vtk-9.0.1_1
+libvtkIOMPIParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOMovie-9.0.so.1 vtk-9.0.1_1
+libvtkIONetCDF-9.0.so.1 vtk-9.0.1_1
+libvtkIOPLY-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallel-9.0.so.1 vtk-9.0.1_1
+libvtkIOParallelXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOSQL-9.0.so.1 vtk-9.0.1_1
+libvtkIOSegY-9.0.so.1 vtk-9.0.1_1
+libvtkIOTecplotTable-9.0.so.1 vtk-9.0.1_1
+libvtkIOVeraOut-9.0.so.1 vtk-9.0.1_1
+libvtkIOVideo-9.0.so.1 vtk-9.0.1_1
+libvtkIOXML-9.0.so.1 vtk-9.0.1_1
+libvtkIOXMLParser-9.0.so.1 vtk-9.0.1_1
+libvtkImagingColor-9.0.so.1 vtk-9.0.1_1
+libvtkImagingCore-9.0.so.1 vtk-9.0.1_1
+libvtkImagingFourier-9.0.so.1 vtk-9.0.1_1
+libvtkImagingGeneral-9.0.so.1 vtk-9.0.1_1
+libvtkImagingHybrid-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMath-9.0.so.1 vtk-9.0.1_1
+libvtkImagingMorphological-9.0.so.1 vtk-9.0.1_1
+libvtkImagingSources-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStatistics-9.0.so.1 vtk-9.0.1_1
+libvtkImagingStencil-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisCore-9.0.so.1 vtk-9.0.1_1
+libvtkInfovisLayout-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionImage-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionStyle-9.0.so.1 vtk-9.0.1_1
+libvtkInteractionWidgets-9.0.so.1 vtk-9.0.1_1
+libvtkParallelCore-9.0.so.1 vtk-9.0.1_1
+libvtkParallelMPI-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingAnnotation-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingContextOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingCore-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingFreeType-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingGL2PSOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingImage-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLOD-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingLabel-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolume-9.0.so.1 vtk-9.0.1_1
+libvtkRenderingVolumeOpenGL2-9.0.so.1 vtk-9.0.1_1
+libvtkViewsContext2D-9.0.so.1 vtk-9.0.1_1
+libvtkViewsCore-9.0.so.1 vtk-9.0.1_1
+libvtkViewsInfovis-9.0.so.1 vtk-9.0.1_1
+libvtkexodusII-9.0.so.1 vtk-9.0.1_1
+libvtkgl2ps-9.0.so.1 vtk-9.0.1_1
+libvtklibharu-9.0.so.1 vtk-9.0.1_1
+libvtkmetaio-9.0.so.1 vtk-9.0.1_1
+libvtkpugixml-9.0.so.1 vtk-9.0.1_1
+libvtksys-9.0.so.1 vtk-9.0.1_1
+libvtkverdict-9.0.so.1 vtk-9.0.1_1
 libvolume_key.so.1 volume_key-0.3.9_1
 librand48_r.so.0 rand48_r-0.1_1
 libxxhash.so.0 libxxHash-0.6.5_2
diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template
index c541f8cea19..1049f064575 100644
--- a/srcpkgs/vtk/template
+++ b/srcpkgs/vtk/template
@@ -1,31 +1,12 @@
 # Template file for 'vtk'
 pkgname=vtk
-version=8.2.0
-revision=4
+version=9.0.1
+revision=1
 wrksrc=VTK-${version}
 build_style=cmake
 # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
 # Here only the core modules set for freecad is getting built
-configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
- -DVTK_FORBID_DOWNLOADS=ON
- -DVTK_Group_StandAlone=ON
- -DModule_vtkIOMPIParallel=ON
- -DModule_vtkParallelMPI=ON
- -DVTK_USE_SYSTEM_LIBPROJ=OFF"
-
-# fails, so use built-in
-# vtk needs specific libharu patches:
-# https://github.com/libharu/libharu/pull/157
-configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF"
-
-# fails, so use built-in
-# netcdf XBPS package lacks of c++ interface ?
-# ArchLinux: "VTK fails to compile with recent netcdf-cxx package, VTK should be ported to the latest API"
-configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF"
-
-# fails, so use built-in
-# vtk relies on gl2psTextOptColorBL(), which is not yet in gl2ps 1.4.0
-configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF"
+configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON"
 
 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel
  libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel
@@ -37,15 +18,10 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="BSD-3-Clause"
 homepage="https://www.vtk.org"
 distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz"
-checksum=34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb
+checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7
 
 nocross="hdf5 is nocross"
 
-post_install() {
-	rm ${PKGDESTDIR}/usr/share/doc/${pkgname}-*/Copyright.txt
-	vlicense Copyright.txt
-}
-
 vtk-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 9f76608765b4e8f55f73bebdd4ef22ef2a802f0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:08 +0200
Subject: [PATCH 229/249] w_scan: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/w_scan/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template
index 2af50272418..eae95b0654e 100644
--- a/srcpkgs/w_scan/template
+++ b/srcpkgs/w_scan/template
@@ -1,15 +1,17 @@
 # Template file for 'w_scan'
-pkgname="w_scan"
-version="20170107"
+pkgname=w_scan
+version=20170107
 revision=1
+build_style="gnu-configure"
 hostmakedepends="automake libtool"
-short_desc="A universal ATSC and DVB blind scanner"
+short_desc="Universal ATSC and DVB blind scanner"
 maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://wirbel.htpc-forum.de/w_scan/index2.html"
 distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2"
 checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
-build_style="gnu-configure"
+
+CFLAGS="-fcommon"
 
 pre_configure() {
 	autoreconf -if

From 5479c065ef0423b77754de5d29332384354d8319 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:16:42 +0200
Subject: [PATCH 230/249] warsow: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/warsow/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/warsow/template b/srcpkgs/warsow/template
index be53257c343..8f971b58dc7 100644
--- a/srcpkgs/warsow/template
+++ b/srcpkgs/warsow/template
@@ -2,10 +2,10 @@
 pkgname=warsow
 version=2.1
 revision=2
-build_style=cmake
-configure_args="-DQFUSION_GAME=Warsow"
 wrksrc="warsow_${version/./}_sdk"
 build_wrksrc="source/source"
+build_style=cmake
+configure_args="-DQFUSION_GAME=Warsow"
 hostmakedepends="pkg-config"
 makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
  libopenal-devel MesaLib-devel libXi-devel libXxf86dga-devel
@@ -14,13 +14,15 @@ makedepends="libcurl-devel libvorbis-devel libtheora-devel libjpeg-turbo-devel
 depends="desktop-file-utils warsow-data>=2.1 libopenal"
 short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://www.warsow.net/"
 distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
 checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
 
 archs="i686* x86_64*"
 
+CFLAGS="-fcommon"
+
 do_install() {
 	# Move Compiled Data to Destination Directory
 	vmkdir usr/lib/warsow

From 3c1c8a758cda7bb7205cfe9591b7e34648811921 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 231/249] wmbubble: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmbubble/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmbubble/template b/srcpkgs/wmbubble/template
index ed3b0e96bd6..312cfd5ba4a 100644
--- a/srcpkgs/wmbubble/template
+++ b/srcpkgs/wmbubble/template
@@ -10,3 +10,5 @@ license="GPL-2.0-or-later"
 homepage="https://github.com/rnjacobs/wmbubble"
 distfiles="${homepage}/archive/${version}.tar.gz"
 checksum=bcdbbf4ea6a426bf75427eac511aa124228508e74c385ea75338979ace06dfd6
+
+CFLAGS="-fcommon"

From aa43a50ff91ed2dc9e37785ccfa14329bb09f70a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:09 +0200
Subject: [PATCH 232/249] wmfs: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmfs/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wmfs/template b/srcpkgs/wmfs/template
index 1d6a8b451fe..17f350c60ad 100644
--- a/srcpkgs/wmfs/template
+++ b/srcpkgs/wmfs/template
@@ -14,7 +14,7 @@ homepage="http://wmfs.info/"
 distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
 checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
 
-CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"

From 87a067ab416885fb7ea9b2f20705d34bca3fa33a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:11 +0200
Subject: [PATCH 233/249] wmii: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/wmii/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template
index d04d7470d59..738f74350d6 100644
--- a/srcpkgs/wmii/template
+++ b/srcpkgs/wmii/template
@@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.
 checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
 python_version=2 #unverified
 
+CFLAGS="-fcommon"
+
 do_build() {
 	LDFLAGS+=" -lX11 -lXrender"
 	make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr

From bc50986720e74147502f9fb338cf1a88971a12fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:12 +0200
Subject: [PATCH 234/249] x11vnc: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/x11vnc/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template
index 47d68f0d209..361c6916436 100644
--- a/srcpkgs/x11vnc/template
+++ b/srcpkgs/x11vnc/template
@@ -14,6 +14,8 @@ changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS"
 distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz"
 checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
 
+CFLAGS="-fcommon"
+
 pre_configure() {
 	autoreconf -fi
 }

From f9651b76c9d9bd99991898dc7d6c6798d270afe0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:13 +0200
Subject: [PATCH 235/249] xastir: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xastir/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xastir/template b/srcpkgs/xastir/template
index 70f5e6ab78f..b6b9de5ee2f 100644
--- a/srcpkgs/xastir/template
+++ b/srcpkgs/xastir/template
@@ -13,3 +13,5 @@ homepage="http://xastir.org"
 distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
 checksum=0bd3768440422a666e1c4c532df0184374244b77ae6650e6690715a0ca1fe7bc
 python_version=2 #unverified
+
+CFLAGS="-fcommon"

From 155a630d2d9a673af7e9fa6dea6412788bf4ae9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:14 +0200
Subject: [PATCH 236/249] xboard: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xboard/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template
index ea1ddf06ab4..a662debc9b8 100644
--- a/srcpkgs/xboard/template
+++ b/srcpkgs/xboard/template
@@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
 
+CFLAGS="-fcommon"
+
 post_extract() {
 	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
 }

From f1d58f5e14e9ed5c78b0f9392a8b3646bb88a2b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:15 +0200
Subject: [PATCH 237/249] xf86-video-amdgpu: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-amdgpu/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-amdgpu/template b/srcpkgs/xf86-video-amdgpu/template
index a4f19ac2005..c8ec5bb1db5 100644
--- a/srcpkgs/xf86-video-amdgpu/template
+++ b/srcpkgs/xf86-video-amdgpu/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From bd375f7bca36f0b667ead90416e5dc92ba6adab0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH 238/249] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac0..fe251dff4b3 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From a4948a22702eff6325a9872463ac286e15d42263 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:17 +0200
Subject: [PATCH 239/249] xf86-video-intel: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-intel/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template
index 1d722450d4c..bf7ebbc28fd 100644
--- a/srcpkgs/xf86-video-intel/template
+++ b/srcpkgs/xf86-video-intel/template
@@ -16,6 +16,7 @@ license="MIT"
 homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
 lib32disabled=yes
 
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 do_fetch() {

From 0393e0cceed1a6a1f11dcb7ca0d134b90c111579 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:18 +0200
Subject: [PATCH 240/249] xf86-video-openchrome: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-openchrome/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template
index eb21519052e..ec99ee3d066 100644
--- a/srcpkgs/xf86-video-openchrome/template
+++ b/srcpkgs/xf86-video-openchrome/template
@@ -14,7 +14,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
 
-CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
+CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in

From fd79fc27e306551077502fc09f4a8cc45dd9049e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:19 +0200
Subject: [PATCH 241/249] xfce4-cpufreq-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-cpufreq-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-cpufreq-plugin/template b/srcpkgs/xfce4-cpufreq-plugin/template
index 62192b09bf8..3bc66ab13ba 100644
--- a/srcpkgs/xfce4-cpufreq-plugin/template
+++ b/srcpkgs/xfce4-cpufreq-plugin/template
@@ -11,3 +11,5 @@ license="GPL-2.0-or-later"
 homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5
+
+CFLAGS="-fcommon"

From 2a61475db63abcffcc4c17d224dfb6861e22c3aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 19 Aug 2020 14:19:23 +0200
Subject: [PATCH 242/249] xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xfce4-sensors-plugin/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template
index e64ec44d95a..392432f83c3 100644
--- a/srcpkgs/xfce4-sensors-plugin/template
+++ b/srcpkgs/xfce4-sensors-plugin/template
@@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
 checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
 
+CFLAGS="-fcommon"
+
 if [ "$CROSS_BUILD" ]; then
 	# Cannot detect these when cross compiling
 	configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"

From d996fe48248ea1e7b75b3f0bee6280bcb471dd53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:20 +0200
Subject: [PATCH 243/249] xforms: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xforms/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template
index c3baac8efa3..b76cf101ceb 100644
--- a/srcpkgs/xforms/template
+++ b/srcpkgs/xforms/template
@@ -11,6 +11,8 @@ homepage="http://xforms-toolkit.org/"
 distfiles="$NONGNU_SITE/xforms/xforms-${version}.tar.gz"
 checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696
 
+CFLAGS="-fcommon"
+
 xforms-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From ffb86043142420944bae88b049e5f43b6dd74594 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:21 +0200
Subject: [PATCH 244/249] xstarter: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xstarter/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template
index 8c5c7da75d6..aa9a47e45e5 100644
--- a/srcpkgs/xstarter/template
+++ b/srcpkgs/xstarter/template
@@ -12,3 +12,7 @@ homepage="https://xstarter.org"
 changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
 distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
 checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
+}

From a70defeb7ef3bc9a7ad1c1b5a87794a493936e8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:23 +0200
Subject: [PATCH 245/249] yeahwm: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yeahwm/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template
index 24760141757..ca7af56230a 100644
--- a/srcpkgs/yeahwm/template
+++ b/srcpkgs/yeahwm/template
@@ -12,6 +12,8 @@ homepage="http://phrat.de"
 distfiles="http://phrat.de/${pkgname}_${version}.tar.gz"
 checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05
 
+CFLAGS="-fcommon"
+
 post_install() {
 	tail -n 40 README.evilwm > LICENSE
 	vlicense LICENSE

From 6ffa2960f73d638619bd7bef71828cb7afeb2b53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:25 +0200
Subject: [PATCH 246/249] yersinia: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/yersinia/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template
index e36b3a56e15..f9d57cfe9ff 100644
--- a/srcpkgs/yersinia/template
+++ b/srcpkgs/yersinia/template
@@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
 if [ -n "$CROSS_BUILD" ]; then
 	hostmakedepends+=" ${makedepends}"
 fi
+
+post_configure() {
+	# configure doesn't honor env CFLAGS
+	vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
+}

From e137c693c1a3f207b9e4ae912b81783478b4b1cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:26 +0200
Subject: [PATCH 247/249] ykpers: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ykpers/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ykpers/template b/srcpkgs/ykpers/template
index 9eda020d341..37a778dd0bb 100644
--- a/srcpkgs/ykpers/template
+++ b/srcpkgs/ykpers/template
@@ -13,6 +13,8 @@ homepage="https://developers.yubico.com/yubikey-personalization/"
 distfiles="https://developers.yubico.com/yubikey-personalization/releases/${pkgname}-${version}.tar.gz"
 checksum=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
 
+CFLAGS="-fcommon"
+
 post_install() {
 	vlicense COPYING LICENSE
 	vdoc README

From 50a1bd42a4ae21935f5b4f5b540b3ad71d796fb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:27 +0200
Subject: [PATCH 248/249] ympd: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/ympd/template | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template
index aee35de9bd4..c848f47dea2 100644
--- a/srcpkgs/ympd/template
+++ b/srcpkgs/ympd/template
@@ -3,11 +3,15 @@ pkgname=ympd
 version=1.3.0
 revision=6
 build_style=cmake
-hostmakedepends="perl"
+hostmakedepends="perl pkg-config"
 makedepends="libmpdclient-devel libressl-devel"
 short_desc="Standalone MPD Web GUI written in C"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="https://www.ympd.org"
 distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz"
 checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;"
+}

From 512292e46a0b3c632a90f4a80757710be603f0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Fri, 28 Aug 2020 18:21:18 +0200
Subject: [PATCH 249/249] freecad: revbump for vtk-9.0.1

[ci skip]
---
 srcpkgs/freecad/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/freecad/template b/srcpkgs/freecad/template
index 9f296b6086c..b56d8227d60 100644
--- a/srcpkgs/freecad/template
+++ b/srcpkgs/freecad/template
@@ -1,7 +1,7 @@
 # Template file for 'freecad'
 pkgname=freecad
 version=0.18.4
-revision=7
+revision=8
 wrksrc="FreeCAD-${version}"
 build_style=cmake
 

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (50 preceding siblings ...)
  2020-08-28 16:20 ` pullmoll
@ 2020-08-28 16:20 ` pullmoll
  2020-08-28 16:23 ` pullmoll
  2020-08-28 16:24 ` [PR PATCH] [Closed]: " pullmoll
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-28 16:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/24334#issuecomment-682827996

Comment:
Ok, revbump for freecad is there. The github interface doesn't want to rebase and merge even though the branch is on top of master. Merge manually?

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (51 preceding siblings ...)
  2020-08-28 16:20 ` pullmoll
@ 2020-08-28 16:23 ` pullmoll
  2020-08-28 16:24 ` [PR PATCH] [Closed]: " pullmoll
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-28 16:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/24334#issuecomment-682827996

Comment:
Ok, revbump for freecad is there. The github interface doesn't want to rebase and merge even though the branch is on top of master. I'll merge it manually...

^ permalink raw reply	[flat|nested] 55+ messages in thread

* Re: [PR PATCH] [Closed]: Packages which need -fcommon for gcc10
  2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
                   ` (52 preceding siblings ...)
  2020-08-28 16:23 ` pullmoll
@ 2020-08-28 16:24 ` pullmoll
  53 siblings, 0 replies; 55+ messages in thread
From: pullmoll @ 2020-08-28 16:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

There's a closed pull request on the void-packages repository

Packages which need -fcommon for gcc10
https://github.com/void-linux/void-packages/pull/24334

Description:
Packages I found doing `xbps-fbulk` for `x86_64`.
See #24258

^ permalink raw reply	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2020-08-28 16:24 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18  0:08 [PR PATCH] Packages which need -fcommon for gcc10 pullmoll
2020-08-18  0:20 ` [PR PATCH] [Updated] " pullmoll
2020-08-18  0:47 ` pullmoll
2020-08-18  1:15 ` pullmoll
2020-08-18 12:59 ` pullmoll
2020-08-18 12:59 ` pullmoll
2020-08-18 13:04 ` sgn
2020-08-18 13:07 ` [PR PATCH] [Updated] " pullmoll
2020-08-18 13:14 ` pullmoll
2020-08-18 13:14 ` pullmoll
2020-08-18 13:29 ` [PR PATCH] [Updated] " pullmoll
2020-08-18 14:02 ` pullmoll
2020-08-18 14:37 ` pullmoll
2020-08-18 14:39 ` pullmoll
2020-08-18 14:44 ` pullmoll
2020-08-18 15:22 ` pullmoll
2020-08-18 15:39 ` pullmoll
2020-08-18 16:28 ` pullmoll
2020-08-18 17:05 ` pullmoll
2020-08-18 17:22 ` pullmoll
2020-08-18 17:42 ` pullmoll
2020-08-18 19:54 ` pullmoll
2020-08-18 21:05 ` pullmoll
2020-08-18 21:18 ` pullmoll
2020-08-18 21:38 ` pullmoll
2020-08-18 21:41 ` pullmoll
2020-08-18 21:42 ` pullmoll
2020-08-18 21:42 ` pullmoll
2020-08-18 21:51 ` pullmoll
2020-08-18 21:52 ` pullmoll
2020-08-18 22:15 ` pullmoll
2020-08-18 22:22 ` pullmoll
2020-08-19  8:15 ` pullmoll
2020-08-19  9:50 ` pullmoll
2020-08-19 10:08 ` pullmoll
2020-08-19 12:11 ` pullmoll
2020-08-19 12:27 ` pullmoll
2020-08-19 15:13 ` pullmoll
2020-08-19 15:20 ` pullmoll
2020-08-20 19:05 ` pullmoll
2020-08-21 10:46 ` pullmoll
2020-08-22 11:20 ` [PR PATCH] [Updated] " pullmoll
2020-08-22 11:41 ` pullmoll
2020-08-22 15:42 ` pullmoll
2020-08-22 18:32 ` pullmoll
2020-08-24 23:24 ` pullmoll
2020-08-27  9:50 ` pullmoll
2020-08-28 15:25 ` pullmoll
2020-08-28 15:26 ` pullmoll
2020-08-28 16:08 ` q66
2020-08-28 16:19 ` [PR PATCH] [Updated] " pullmoll
2020-08-28 16:20 ` pullmoll
2020-08-28 16:20 ` pullmoll
2020-08-28 16:23 ` pullmoll
2020-08-28 16:24 ` [PR PATCH] [Closed]: " pullmoll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).